Forum Moderators: phranque

Message Too Old, No Replies

Blocking Visitors From Forums

Anyone know how to do this?

         

ccam96

12:45 am on Nov 18, 2006 (gmt 0)

10+ Year Member



I run an affiliate site that asks the visitor to fill out a form which gets transfered to my partner who pays me for the lead. I generate about 300-400 leads/ month for them and they are very happy with me as I'm one of their top affiliates.

Lately, someone has started posting misleading posts in freebies forums telling some apparently not very bright people that they will receive free stuff if they fill out my forms. It's obvious that this is not the case when they get to my site as there is no mention of it anywhere (.. obviously..), however, a few gullible ones do fill out these forms which are automatically sent to my partner. About 10-20 leads were sent this way since the beginning of the week.

I've contacted my partner and we've contacted the site owners to remove the posts with no action yet.

My question is .. has anyone had a similar problem and is there anything that I can do with my site (htaccess, etc.) to block these visitors from these domains. Obviously blocking the IP's won't work since it's from many random visitors. Can I block someone coming from a link on a certain domain?

Thanks.

LifeinAsia

1:04 am on Nov 18, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Just check the referer and block accordingly. The specifics of how to do it depend on what scripting language you're using for your pages.

ccam96

4:27 am on Nov 18, 2006 (gmt 0)

10+ Year Member



Thanks Life in Asia. I use static HTML pages only. Any suggestions or alternatives?

physics

4:58 am on Nov 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can do this with mod_rewrite (if your site is on Apache). See:
mod_rewrite - allowing access to a url based on the referrer. [webmasterworld.com]

You could also drop some PHP into the page to accomplish this but then you need to enable PHP parsing of .html files.

ccam96

6:38 am on Nov 20, 2006 (gmt 0)

10+ Year Member



Thanks Physics .. I appreciate it.