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:
from example.com/page1
to example.com/page1?utm_source=abc&utm_campaign=101
when the referering URL / page is abc.com/forum.php?thread=1234
I hope my explanation of what I want makes sense.