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 create a MySQL database?

Text Version In this tutorial we will be setting up a new MySQL database. Begin by clicking...

How do I configure my email client?

Text Version In this tutorial we will be automatically configuring our email client. This...

Unable to create a DB in cPanel

If cPanel/MySQL not working correctly but mysql is working on the server run the following...

How do I use the index manager?

Text Version In this tutorial we will be setting up the index manager. This prevents users...

How do I create a cron job in cPanel?

You can set the cron job in the cpanel using the following instructions. To access the Cron...