Title: [Plugin: Redirection] Redirecting a URL with a Number Variable
Last modified: August 19, 2016

---

# [Plugin: Redirection] Redirecting a URL with a Number Variable

 *  [zerokarma](https://wordpress.org/support/users/zerokarma/)
 * (@zerokarma)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-redirection-redirecting-a-url-with-a-number-variable/)
 * I am trying to redirect a bunch of urls that have number variables with this 
   Redirection plugin, for example:
 * photoalbum/displayimage-15-32.html
 * The numbers like 15 & 32 will be different for each url, I would like to redirect
   these links but can’t figure it out.
 * I have tried inserting (\d*) for the numbers like: photoalbum/displayimage-(\
   d*)-(\d*).html
 * But this does not seem to work, how do I adjust this to make it work?

Viewing 1 replies (of 1 total)

 *  Thread Starter [zerokarma](https://wordpress.org/support/users/zerokarma/)
 * (@zerokarma)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-redirection-redirecting-a-url-with-a-number-variable/#post-1174587)
 * Nevermind i figured it out
 * You have to select “Regular expression” when making the redirect

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Redirection] Redirecting a URL with a Number Variable’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [zerokarma](https://wordpress.org/support/users/zerokarma/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-redirection-redirecting-a-url-with-a-number-variable/#post-1174587)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
