On a Wordpress blog, with posts permalink setup like this: /%year%/%month%/%day%/%post_name%/
How to massively change the permalinks to this: /%post_name%-%post_id%/
.
I have about 10,000 articles.
- Change the permalink from wordpress settings - done.
- Create a redirection for all link
/1970/01/01/this_is_a_post/
How to do the step 2?
People will arrive on /1970/01/01/this_is_a_post
but they will find a 404 as the post is now under /this_is_a_post-00022
.