Title: Redirect params
Last modified: September 22, 2020

---

# Redirect params

 *  Resolved [MerlinRose](https://wordpress.org/support/users/merlinrose/)
 * (@merlinrose)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/redirect-params/)
 * Hello,
 * i want to just redirect params of the url. for example /page/?id=123 to /page/?
   event-id=123.
 * How can i do this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fredirect-params%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/redirect-params/#post-13439109)
 * You can use a regular expression:
 * [https://redirection.me/support/redirect-regular-expressions/](https://redirection.me/support/redirect-regular-expressions/)
 *  Thread Starter [MerlinRose](https://wordpress.org/support/users/merlinrose/)
 * (@merlinrose)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/redirect-params/#post-13439132)
 * Yes, sure but not something like this right?
 * /page/?id=(.*) to /page/?event-id=$1
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/redirect-params/#post-13439144)
 * You can test regular expressions here:
 * [https://regex101.com/](https://regex101.com/)
 * Note that you will need to escape the `?` in the source in order to match it,
   as it’s a regular expression character: `\?`
 *  Thread Starter [MerlinRose](https://wordpress.org/support/users/merlinrose/)
 * (@merlinrose)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/redirect-params/#post-13439196)
 * Thanks a lot!
 * for all others, the solution for me was ^/page/\?id=(.*) to /page/?event-id=$
   1

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

The topic ‘Redirect params’ 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
 * 2 participants
 * Last reply from: [MerlinRose](https://wordpress.org/support/users/merlinrose/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/redirect-params/#post-13439196)
 * Status: resolved