How to change wordpress permalink structure without changing old URLs?
WordPress has become popular content management system on the Internet and it's quite webmaster friendly. The system allows changing of URL structure with a click of a button. So if you want search engine friendly URLs, you just have to go to the Settings -> Permalinks option and then describe the format in which you want the URLs to be formatted. I've done that before but the real challenge lies in changing the permalink structure without affecting the older links that are indexed by search engines like Google already. Here's an example of what I'm trying to achieve -
Current URL: domain.com/this-is-mypost/
Let's say we have hundreds of such posts with URL formatted like that mostly /%postname%/
Now if we change this URL structure to say -
New URL: domain.com/45345/this-is-my-post/ , that is /%post_id%/%postname%/ then that changes the URL format of the old URls as well.
I'm wondering if there's a way to ensure that only new URLs are created with the new format and the old URLs remain intact.
Does anyone know how to do that?
Current URL: domain.com/this-is-mypost/
Let's say we have hundreds of such posts with URL formatted like that mostly /%postname%/
Now if we change this URL structure to say -
New URL: domain.com/45345/this-is-my-post/ , that is /%post_id%/%postname%/ then that changes the URL format of the old URls as well.
I'm wondering if there's a way to ensure that only new URLs are created with the new format and the old URLs remain intact.
Does anyone know how to do that?
0