Hi there, I'm having an issue where I have lots of links on my Wordpress site which links to an external URL(each link is different). I don't want the owner of the external URL to see that the traffic is coming from my site. If possible I would like the following to happen.
1 User clicks link to external URL on my Wordpress site.
2 Link to external site is captured and transferred to my other hosted domain name (don't care if other site owner sees traffic is coming from here.)
3 User is directed to the clicked link through my other hosted domain, external site owner sees traffic from the other hosted domain, and not my first site.
I'm not sure how to do this, I did think I could just make the link something like https://myseconddomain.com/incoming/&https://siteownersurl.com Then use PHP to get the siteownersurl and do a redirect. The problem is in Wordpress this link is not valid and does not go to my second url, it just opens the origin page I'm on in a new tab. https://myseconddomain.com/incoming/&https://siteownersurl.com but when I put it in the browser and check webdeveloper tools network I see it works. Any help would be excellent, thanks.
1 User clicks link to external URL on my Wordpress site.
2 Link to external site is captured and transferred to my other hosted domain name (don't care if other site owner sees traffic is coming from here.)
3 User is directed to the clicked link through my other hosted domain, external site owner sees traffic from the other hosted domain, and not my first site.
I'm not sure how to do this, I did think I could just make the link something like https://myseconddomain.com/incoming/&https://siteownersurl.com Then use PHP to get the siteownersurl and do a redirect. The problem is in Wordpress this link is not valid and does not go to my second url, it just opens the origin page I'm on in a new tab. https://myseconddomain.com/incoming/&https://siteownersurl.com but when I put it in the browser and check webdeveloper tools network I see it works. Any help would be excellent, thanks.