Celeb Glow
general | March 02, 2026

Wildcard or Regular Expression for a query string parameter

Is it possible to use wildcards and/or regular expression to auto-redirect from one path to the other when part of the original path is unknown?

For example:

I want to redirect from this: To this:

The seven digit number in the “from” path will always be different (unknown) and can be thousands of different combinations, so I want to append the keyword “reference” at the end of the path for every and all instances regardless of what the seven digit number will be.

I have tried using several different wildcards and regular expressions with no success.

Wildcards and Regex for URL

12

1 Answer

Set the Include pattern and Redirect to options as shown on the image below. Then for Pattern type, select Regular Expression.

Redirect setting

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy