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

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

How do I setup URL forwarding?

Text Version In this tutorial we will be adding a new URL forwarder. This is useful if you...

How do I add a parked domain?

Text Version In this tutorial we will be creating a new parked domain. A parked domain...