Please keep in mind that I have very little knowledge of PHP and I am currently using PostNuke as my cms on my site...
Is it possible to implement some php code to redirect traffic from a certain domain to a blank page or some other page on your site?
I've found a piece of php code that 'says' it will do it, but it blocks everyone out for some reason. Here is the code:
Code:
<?
if ($HTTP_REFERER= 'www.yourdomain.net')
{
header ("Location: 404.html");
}
?>
Can anyone help me here? I do know that the code would need to go into index.php, modules.php and admin.php to cover all your bases...unless there is another way to do it.
Thanks
Ben