Title: Redirection 301 with variable
Last modified: January 24, 2019

---

# Redirection 301 with variable

 *  Resolved [lysardent](https://wordpress.org/support/users/lysardent/)
 * (@lysardent)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/redirection-301-with-variable/)
 * I need to redirect all my old permalink :
 * /%category%/%post_id%-%postname%/
 * to new : /%category%/%postname%/
 * Is it possible with your plugin ? What is the syntax for this ?
 * Thanks !
    -  This topic was modified 7 years, 4 months ago by [lysardent](https://wordpress.org/support/users/lysardent/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/redirection-301-with-variable/#post-11133428)
 * Please see [https://redirection.me/support/redirect-regular-expressions/](https://redirection.me/support/redirect-regular-expressions/)

Viewing 1 replies (of 1 total)

The topic ‘Redirection 301 with variable’ 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/)

## Tags

 * [redirection 301](https://wordpress.org/support/topic-tag/redirection-301/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/redirection-301-with-variable/#post-11133428)
 * Status: resolved