Forum Moderators: phranque

Message Too Old, No Replies

.htaccess redirect for a URL on a specific referrer page

         

criscokid

10:31 am on Jun 22, 2011 (gmt 0)

10+ Year Member



I could do with some help on what code I'd use in .htaccess to acheive the following redirect:

The condition should look at the following:
* if the page the link's on matches then continue
* if the URL on the previously mentioned page matches then do the URL rewrite

URL rewrite:
http://example.com/page1
http://example.com/page1?utm_source=abc&utm_campaign=101

I hope my explanation of what I want makes sense.