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]