I've got some affiliates that are sending fraudulent traffic, so I need to 404 their links on the server. Linking structure is like this http://www.oursite.com/pages/123.php?page=3&set=3&link=12 What i need to do is to be able to kill the 123 which represents the affiliate id.
I looked at cpanel but don't really see that the hotlinking would fix that as there are many different affiiliates who use the same structure, just have different id's. I don't know anything about apache handlers, and from what I see in cpanel setting these 404's would have to be either in the hotlinking or apache handler. OK I see the custom error pages, but not sure how to set up as all i see is some bit of code like htis <!--#echo var="HTTP_REFERER" --> What else needs to go in here so only specific referrers get 404'd?
Check for "Redirect URL" under WebServer. I am not Hosted at cPanel, but on another Control Panel.. And I see URL Redirection here.
copy this to your .htaccess file That'll ban any traffic from their domain, so if they change their referral structure, it'll still bounce if you change it, make sure to include the \ after oursite,
pokefreak, the referring domain is our domain , it was just some bad affiliates, but thanks for chiming in.