How do I block visitors referred by a specific domain?

Add this code to your .htaccess file.

Change input\.com to the domain you're blocking.

You will need a \ before the . RewriteCond %{HTTP_REFERER} input\.com [NC] RewriteRule .* - [F]


Start reseller hosting, pay annually and get 2 month free

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Where can I find documentation for cPanel?

Online and downloadable documentation is available in different formats from the following link...

What is the path to the netPBM files?

You will need to download netPBM and upload it to your webspace to install it. The path will...

PhpMyAdmin - Wrong username/password. Access denied.

If you logged in to your control panel but unable to run phpmyadmin and you get this error...

How can I point a second domain name to my website?

You'll need to create a parked domain. You can find a tutorial on how to create a parked domain...