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

How do I update my password?

Text Version In this tutorial we will be changing our password in cPanel. It is a good idea to...

Secure certificate error in cPanel

We use a self-signed certificate for cPanel. This will likely cause an error screen to appear...

How do I create an FTP account?

Text Version In this tutorial we will be creating a new FTP account. This can be used to give...

I am not able to delete files from cPanel?

If you're not able to delete files from cPanel and you get the following error message. Unable...