views:

20

answers:

1

I have a url /embed?t=X and I want to redirect it to /page/embed/X where X is any number of alpha numeric characters.

I know must redirect rules go the other way but for the purpose of the applciation I need to reverse it.

Any ideas?

I have tried things like: RedirectRule ^embed\?t\=([a-zA-Z0-9]+)$ /page/embed/$1

but with no luck.

A: 

Basically I want to rewrite URL A to URL B

A = /embed?t=X B = /page/embed/X

The user enters URL A into the browser we redirect to URL B

X can be any number of alphanumeric characters.

Dan T
This a comment not an answer...
Dan T