Title: RegEx problem
Last modified: August 30, 2016

---

# RegEx problem

 *  [esquipulas](https://wordpress.org/support/users/esquipulas/)
 * (@esquipulas)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/regex-problem-2/)
 * Hi there, I’m using the plugin (which is a great one) and have a problem with
   301 RegEx instruction.
 * I want to redirect from /boutique/YYYY/MM/DD/post/ to /post/ (change permalinks),
   so I wrote from /boutique/[0-9]{4}/[0-9]{2}/[0-9]{2}/(.*) to /$2 and tried also
   from /boutique/[0-9]{4}/[0-9]{2}/[0-9]{2}/(.*) to /$1
 * It does not work. What did I miss ?
 * Thanks for help if possible.
 * Eric
 * [https://wordpress.org/plugins/redirection/](https://wordpress.org/plugins/redirection/)

The topic ‘RegEx problem’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [esquipulas](https://wordpress.org/support/users/esquipulas/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/regex-problem-2/)
 * Status: not resolved