We would like to block a certain url coming from a scammy url shortening service that pays per click. The website basically displays our website in an iframe and displays their ads on top.
We've tried using a php redirect to our main page when a specific referrer is detected however it ends up in infinite redirect loop. Also tried a javascript redirect but the domain url doesn't change from theirs to ours.
Ultimately what we want to accomplish is redirect users coming from this short url to our main website and changing the site url from theirs to ours in the url bar.
Is this possible?
Thank you