Jump to content

Blocking Keywords In A Visitors Domain


webundle

Recommended Posts

Hi,

Don't think this is possible, but worth asking.
One of the sites I run is a charity facebook group, but a large number of people join via the associated website.

Big problem with daily spam posts selling fake Ugg boots and Vuitton handbags - all with different domains, bit all domains included the word "Ugg" or "Vuitton".
I know nothing can be done on the Facebook side of things, but is there are a way to block visitors originating from domains including those keywords?

All ip's are different too which is why I think it can't be done, but thought I'd check just in case there is a solution!

Thanks,

 

Alistair

Link to comment
Share on other sites

This is a method I have not tested but give it a try, just add this to the top of your .htaccess file,

SetEnvIfNoCase Referer ugg spammer=yes
SetEnvIfNoCase Referer vuitton spammer=yes

Order allow,deny
Allow from all
Deny from env=spammer
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...