Get exclusive CAP network offers from top brands

View CAP Offers

Reply To: Getting really tired of link spam

[bsa_pro_ad_space id=2]
#759910
supervince
Member

Are you saying someone is linking to your site or filling out your link exchange form?

If someone is linking to your site then don’t worry about it. Google doesn’t penalize for who is linking to you.

If someone is spamming your link exchange form then its most likely a bot. You can take care of it by either adding a captcha to the form or use a little hack that stops bots on all my link exchange forms. Here is what I do

Add a new text field to your form

This will add an invisible text field to your form that real users cannot see but a bot can. A bot will normally fill in text fields that it doesnt recognize with random data so…

When the form is posted, check to see if that field has a value. If it doesn’t have a value then it was a real user and you can process the form. If the field does have a value then it was a bot. Simply don’t process anything and just send them to the thank you page so it looks like a successful submission. You could also take the ip address and ban it if you want.

[/CODE][CODE] //a bot. redirect and exit
} else {
//process your form
}
?>[/CODE]