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

I can't connect to webmail or cpanel?

Your location is blocking the ports used for webmail and cpanel (2096 and 2083). You will not be...

I can't create a database in phpMyAdmin

Databases need to be created in cPanel. You can then edit your database from phpMyAdmin. For a...

Where can I find documentation for cPanel?

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

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 reset my cPanel or WHM reseller password?

To reset your cPanel or WHM reseller password Login to your account manager >go to My...