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

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...

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...

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...

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...

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...