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]

We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies

More