My .htaccess Referral Spam Blocking Codes

Below are the .htaccess referral spam blocking codes I mentioned in 3 Ways To Spam Proof, Hack Proof WordPress Blogs & Ecommerce Sites. Simply copy & paste it to the bottom of your .htaccess file. You can find the .htaccess file in the main directory where you installed WordPress.

###########################################

# block referral spam visits

RewriteCond %{HTTP_REFERER} ^http://.*^http://.*ilovevitaly\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly.\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.info/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*iloveitaly\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*econom\.co/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*savetubevideo\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*kambasoft\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*buttons\-for\-website\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*semalt\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*darodar\.com/ [nc]
RewriteCond %{HTTP_REFERER} ^http://.*4webmasters\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*sharebutton\.to/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*chinese-amezon\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*e-buyeasy\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*free-social-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*success-seo.com\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*traffic2money\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ranksonic\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*Get-Free-Traffic-Now\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*yourserverisdown\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*trafficmonetizer\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*getyourprofit\.net/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*floating-share-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*site6.free-floating-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*free-floating-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*videos-for-your-business\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*hongfanji\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*video--production\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*get-free-social-traffic\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*satellite.maps.ilovevitaly\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*erot\.co/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*semaltmedia\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*sexyali\.com/ [NC,OR]
RewriteRule ^(.*)$ – [F,L]

###########################################

Enjoy you newly found peace of mind!

Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124