• Resolved deepthings

    (@deepthings)


    Just tried to update my permalink structure to the “Post name:” type. It appears to work fine, no problems with the .htaccess file which has permissions correctly set, and the update process runs smoothly in admin. The admin page editor pages seem to show the individual page urls correctly updated, e.g. http://localhost/xxx/about.

    However, visiting pages with the new permalink url brings up a “Page not found” for all pages. This happens when linking from the dynamically updated navigation bar in the site, or the editor “View page” link. If I put the old url into the address bar, it redirects to the new permalink url, which gives “Page not found”. The database post guid entries show the old urls, so I feel like the permalink is not actually being updated.

    Can you help?!

    Thanks,
    Matt

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try resetting your custom permalinks back to the default setting via Settings -> Permalinks and renaming your .htaccess file. If this works, then set a custom permalink structure back up again & see how it does. Pages always have the same page-name structure regardless of what custom permalink structure you use. It’s only the Post permalinks that will change.

    Thread Starter deepthings

    (@deepthings)

    Thanks for the reply. I tried your fix, but it is still not working. The new page names are a dead end. Any other ideas?

    I only have Pages going at the mo, but they are stored in the posts section so I think behave a little like posts anyway.

    Thanks again.

    The new page names are a dead end

    Page? Or Post? What happens if you use the default permalink setting?

    Thread Starter deepthings

    (@deepthings)

    Page. I’m only working with pages right now. With the default setting, it works, with the default url style.

    Check with your hosts that mod_rewrite is running on your server.

    Thread Starter deepthings

    (@deepthings)

    You’re very good. This worked a treat. LAMP by default didn’t permit this.

    Thank you!

    You’re welcome 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Permalink url not updated in database’ is closed to new replies.