I so suck at regex and redirects. I suck at lots of other stuff to, but
that's irrelevant to this post.

The simple explanation of what I want is a url like :
mysite.com/sales/1/122/?key=value&key2=value2 to redirect to just
mysite.com/sales/1/122.

The ideal situation is anything that ends in /122 (mysite.com/*/122/) to
redirect to mysite.com/sales/1/122/.

So first, strip the query string, second if it's /122 go to sales/1/122.

Any help would be greatly appreciated.

-Michael


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343783
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to