Jump to content
Sign in to follow this  
webundle

Blocking Keywords In A Visitors Domain

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

Share this post


Link to post
Share on other sites

You can build an email filter to discard any emails with the from containing those words. Choose the account level filtering option.

Share this post


Link to post
Share on other sites

Thanks Bruce, but it's not email that's the problem, just the fact that they visit the site. No problem - didn't think there was much I could do.

Thanks for your help :)

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×