Title: Redirection with query parameters
Last modified: August 30, 2022

---

# Redirection with query parameters

 *  Resolved [popcrawel](https://wordpress.org/support/users/popcrawel/)
 * (@popcrawel)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/redirection-with-query-parameters/)
 * Hi im trying to redirect an url with query parameter but the parameter is a private
   key.
    when i realize the redirect with regex to avoid the change
 * This is the link [https://worldsacross.com/page-login/?action=rp&key=3mnc4lPWqg9Ba6Stl0ad&login=yesigonzalez](https://worldsacross.com/page-login/?action=rp&key=3mnc4lPWqg9Ba6Stl0ad&login=yesigonzalez)
 * the redirection is configured like this:
 * Source URL: ^/page-login/?action=rp&key=(.*)
    Target URL: /password-setting/?
   action=rp&key=$1
 * But when the redirection pass the key is invalid.

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/redirection-with-query-parameters/#post-16009302)
 * There was a problem keeping the same case when a parameter was passed on to the
   target. It is possible this may have affected the private key here. This should
   already be fixed in the latest version.

Viewing 1 replies (of 1 total)

The topic ‘Redirection with query parameters’ 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

 * [regex](https://wordpress.org/support/topic-tag/regex/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/redirection-with-query-parameters/#post-16009302)
 * Status: resolved