• Resolved seowebua

    (@seowebua)


    I know that when you change your permalinks structure, wp should automatically redirect visitors to new post url’s. So here is my problem:

    For the longest time I was using /%year%/%monthnum%/%postname%/ structure on my blog, but now I decided that I want to have /%postname%/ instead. So I changed it, it works, but for some reason when you use the old links url’s (whenever they were embedded directly in posts text or on external sites) you get 404 instead of redirect.

    I experimented a bit with changing permalinks structures and found out that my WP redirects perfectly from old url’s to new when you choose
    – /%year%/%monthnum%/%day%/%postname%/
    – /archives/%post_id%

    But doesn’t redirect and shows 404 instead when you choose
    – simple (?p=123)
    – /%postname%/ (the one I want to use)

    So, why it doesn’t work?

    • This topic was modified 6 years, 3 months ago by seowebua.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter seowebua

    (@seowebua)

    ok, so I found solution: Redirection plugin (By John Godley) and one regex. Still, leave a reply if you know how to do it natively, without plugins.

    • This reply was modified 6 years, 3 months ago by seowebua.
Viewing 1 replies (of 1 total)
  • The topic ‘WP doesn’t redirect permalinks to %postname% structure’ is closed to new replies.