I need a [login to view URL] script which does the following and need to be implimented in wordpress.
When I link:
[login to view URL]://[login to view URL]
It must redirect to: [login to view URL]://[login to view URL]
[login to view URL] and ?utm_source=AAA&utm_medium=BBB remain same for a affiliate network.
I must be able to link multiple merchants to multiple affiliate networks example:
if [login to view URL] then redirect [login to view URL]://[login to view URL]
if [login to view URL] then redirect [login to view URL]://[login to view URL]
if merchant affiliate link not found redirect directly
some affiliate networks require encoding
if [login to view URL] then redirect with encoding [login to view URL]