Forums

Permalink Structure Changed, Pages are fine, Posts give me a 404 (5 posts)

  1. twixx007
    Member
    Posted 1 year ago #

    My site is built, and I want to change the permalink structure. I changed it to a custom structure in the settings to /%pagename% . WP told me that I needed to put some code into my .htaccess folder, which was obvious because I was getting a complete 404 error on every page.

    The code was placed, and all of my pages are now working; however, my posts are not. On the posts, everything looks fine as far as the header, footer, sidebar, and even the url, but the content section returns a 404 error.

    Any advice? Thanks so much!

  2. panther8
    Member
    Posted 1 year ago #

    Hi twixx007, the redirect plugin will help you to avoid the 404 errors, when changing the URL structure...
    http://wordpress.org/extend/plugins/redirection/

  3. twixx007
    Member
    Posted 1 year ago #

    Thank you, panther8. I'll try that. For the time being, I just went from custom to the month/year option, and that fixed everything. The only think that I don't like is to have the month/year in the url, so I'll try your suggestion.

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    for permalinks, AFAIK, /%pagename%/ is not a valid option

    /%postname%/ is however

    no plugin is needed, WP handles the redirects just fine.

  5. panther8
    Member
    Posted 1 year ago #

    Oh, you're right Rev.Voodoo... I didn't noticed the pagename, thought it was postname.

Topic Closed

This topic has been closed to new replies.

About this Topic