# Block referrer spam & Country
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://.*avtovei.\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*livegif.\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*mapcenter\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*mcomp\.org/ [NC,OR]
RewriteRule ^(.*)$ – [F,L]
How to Block IP Addresses & Specific visitors with .htaccess Print
Modified on: Wed, Oct 14, 2020 at 8:48 PM
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.