Jump to content

Blocking someone in htaccess


oracle765

Recommended Posts

## STOP REFERRER SPAM
RewriteCond %{HTTP_REFERER} semalt\.com [NC,OR]
RewriteCond %{HTTP_REFERER} best-seo-offer\.com [NC,OR]
RewriteCond %{HTTP_REFERER} videos-for-your-business\.com [NC,OR]
RewriteCond %{HTTP_REFERER} semaltmedia\.com [NC,OR]
RewriteCond %{HTTP_REFERER} best-seo-solution\.com
RewriteRule .* - [F]

Hi Professionals I am after a bit of advice on apache

 

I have a regular visitor from 1999521.videos-for-your-business.com/ and I am aware this is spam from semalt.com, the trouble is I have tried blocking this but it keeps coming back the number 1999521 changes frequently

 

 

I have the following in my htaccess file

 

 

Any ideas what I could do

 

Thanks

Alan

 

Link to comment
https://forums.phpfreaks.com/topic/297074-blocking-someone-in-htaccess/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.