WordPress.org

Support

Support » Miscellaneous » Redirect "/discussion/%post_id/" to "?p=%post_id/"

Redirect "/discussion/%post_id/" to "?p=%post_id/"

  • Hello!

    I’m migrating from my old site to my new wordpress powered site, everything is going ok, I’ve already imported my old site’s posts to wordpress and they share the same ID which means that I can redirect the people that search for my old site’s URLs to my new one.

    is there a way to redirect all the links that have this structure:

    /discussion/%post_id (old site’s permalink)

    to

    ?p=%post_id (the default wordpress permalink) ??

    Thanks 🙂

  • The topic ‘Redirect "/discussion/%post_id/" to "?p=%post_id/"’ is closed to new replies.