• Hello,

    I need to change the Permalink structure of my wordpress website…
    FROM: “/%post_id%-%postname%.html” (example: https://example.com/13659-sample-post.html)
    TO: “/%year%/%monthnum%/%day%/%postname%/” (example: https://example.com/2011/05/28/sample-post/)

    But the problem is, once it’s changed, all the old links indexed on Google, linked by others etc become useless and throw 404 errors.

    NO PLUGINS PLEASE. Is there a way to redirect old permalink urls (“/%post_id%-%postname%.html”) to (“/%year%/%monthnum%/%day%/%postname%/”) using .htaccess??

    Hope you can help me on this one.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • How many pages? If it’s only a few it’s probably able to be done.

    Realistically, though – why not just install “Broken Link Checker” plugin, fix the links; let google crawl everything and you’re all good.

    Next, to ensure that people following bad links to your website get treated OK, have a good-looking 404 error page that they’ll be able to use to find what they’re looking for easily!

    Thread Starter Aahan Krish

    (@aahan)

    More than 2900 pages, that’s the reason why I am looking for a .htaccess directive. Help anyone?

    I need help with this as well…..can anybody help? Aahan did you get help yet?

    Thanks
    Cyndi

    Please post a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How To Redirect Old Permalinks to New Permalinks using .htaccess?’ is closed to new replies.