HELP!!! I just screwed up all the links on my site...

8 replies
  • WEB DESIGN
  • |
I am bumbling my way setting up my wordpress site and I am just technical enough to be dangerous.

I was messing with the permalinks option (trying to make simpler URLs) and now none of my interior pages work... :-( (Now I can't even find where to set it back to how it was)

I am running Wordpress, with Thesis, and Kolakube's Nexis skin. You can see my work in progress site here: Performance Marketing Journal

Any advice would kindly be appreciated.
#links #screwed #site
  • Profile picture of the author Toby Couchman
    Go to Settings > Permalinks and try switching to default.

    I use this custom structure /%postname%
    {{ DiscussionBoard.errors[3942354].message }}
  • Profile picture of the author Brock Poling
    Ok, that fixed it. Thank you!

    So, is it normal if you change your permalinks settings once pages are built it doesn't go in and rename and re-link everything? WP and Thesis are usually so smart that I can't imagine that you would have to do this by hand.

    Or did i just do something wrong? ;-)
    {{ DiscussionBoard.errors[3942386].message }}
  • Profile picture of the author Toby Couchman
    Not sure what happened but for some reason it was insert a /category/ in the url so maybe you entered "category" as a tag in the custom url structure field instead of using %category%

    Check out this page to get a better understanding of permalinks
    Using Permalinks « WordPress Codex
    {{ DiscussionBoard.errors[3942473].message }}
    • Profile picture of the author Brock Poling
      Wow, this permalinks thing has really been a bear. I have it working (sort of) now.

      Here are a couple of my links: Thank You For Subscribing
      Metrics Take 4

      I am using the permalink options of:

      /index.php/%year%/%postname%/


      I don't like the "index.php" in the middle of my URL. But if I take it out of the permalink parameters it causes a 404 error. Can I get rid of it, or am I stuck with it?

      Thanks for all your help. Clearly I am not a coder.
      {{ DiscussionBoard.errors[3945867].message }}
      • Profile picture of the author Elchemy
        Click on custom permalink, and make the permalink:
        /%postname%/
        or if you have a lot of posts then
        /%year%/%postname%/
        OR
        /%date%/%postname%/

        If you have a carefully set up category structure then
        /%category%/%postname%/
        Can be useful.
        If ever you have problems with your site not working, Changing to default permalinks and a default theme can help you get it going again while you troubleshoot.
        Note if you have backlinked to the old permalink structure these backlinks will be lost. I use "permalink finder" and "smart 404" Plugins to help redirect to the new permalink or a search page.
        {{ DiscussionBoard.errors[3946031].message }}
  • Profile picture of the author Brock Poling
    hmmm... I am still struggling.

    When I change it to custom permalinks and /%year%/%postname%/ it throws 404 errors on every page except the home page. However, when I include the index.php string to the front everything works fine.

    I really would like to get rid of this so I can make cleaner page names.

    Everything I read suggests that the /%year%/%postname%/ string should work, but I am still having problems.

    Any suggestions?
    {{ DiscussionBoard.errors[3958259].message }}
    • Profile picture of the author Istvan Horvath
      Originally Posted by Brock Poling View Post

      When I change it to custom permalinks and /%year%/%postname%/ it throws 404 errors on every page except the home page. However, when I include the index.php string to the front everything works fine.
      It means you are hosted a Win server (Microsoft-IIS/6.0), not on Apache.
      On those servers the "nice" permalinks work only with index.php in it.

      If you need to get rid of it - move to another host with *nix/Apache server.
      Signature

      {{ DiscussionBoard.errors[3958805].message }}
      • Profile picture of the author Brock Poling
        Thanks Istvan. That clears that up.

        That is a bummer, but I am glad to know what the problem is.
        {{ DiscussionBoard.errors[3960067].message }}

Trending Topics