WordPress.org

Ready to get started?Download WordPress

Forums

Redirect "/discussion/%post_id/" to "?p=%post_id/" (1 post)

  1. sevmc22
    Member
    Posted 2 years ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags