Title: Mass redirection
Last modified: August 20, 2016

---

# Mass redirection

 *  [ucarmetin](https://wordpress.org/support/users/ucarmetin/)
 * (@ucarmetin)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/mass-redirection/)
 * Hey!
 * I’m running Redirection 2.2.5 on WP 3.1.3. I have ~600 posts to be redirected
   due to the change I’ve done in permalink structure. Old permalink structure was
 * **category/post-title**
    which resulted in
 * **[http://www.mysite.com/subfolder/category/post-title](http://www.mysite.com/subfolder/category/post-title)
 * I changed this structure to
 * **year/month/post-title
 * which resulted in
 * **[http://www.mysite.com/year/month/post-title](http://www.mysite.com/year/month/post-title)**
 * Any suggestion on how to address all posts on my site using Redirection plugin?
 * Thanks
 * [http://wordpress.org/extend/plugins/redirection/](http://wordpress.org/extend/plugins/redirection/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [icemonkey9](https://wordpress.org/support/users/icemonkey9/)
 * (@icemonkey9)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/mass-redirection/#post-2114564)
 * Was there ever a solution given? I have the same issue!
 *  Thread Starter [ucarmetin](https://wordpress.org/support/users/ucarmetin/)
 * (@ucarmetin)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/mass-redirection/#post-2114565)
 * Hey icemonkey9,
 * Unfortunately, no solution my problem so far. So, while waiting for such solution,
   I did individual redirects.
 *  [Tiger33](https://wordpress.org/support/users/tiger33/)
 * (@tiger33)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/mass-redirection/#post-2114573)
 * Strange
 * I actually thought one of the points in this tool was that it could handle this
   very scenerio
 * I’m looking to change my structure as well
 * let us know if you do get a solution
 *  [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * (@jrf)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/mass-redirection/#post-2114584)
 * I don’t think this is easily done automagically as the redirection plugin has
   no way of knowing what year or month to replace the category with.
 * It can automagically add a redirect if you change a post-title, but not if you
   change the permalink structure.
 * For the above you will need to add rules for each post, but you can group them
   together by month using regular expressions.
    For each year/month combination
   you can add a rule with all the post-titles for that year/month in the source
   URL regex seperated by the | character. Of course you will have to replace the
   year and month in the target URL with the relevant info too.
 *     ```
       Source URL: ^/subfolder/[a-z0-9_-]/(post-title1|post-title2|post-title3)[/]?$
       Regex: on
       Target URL: /year/month/$1
       ```
   
 * Hope this helps.
 * Smile,
    Juliette

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Mass redirection’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/mass-redirection/#post-2114584)
 * Status: not resolved