Why there are a lot of spam comment?
Some of bloggers think that getting spam comment will improve their Google PR, But they forget all the problems that caused:
- Spam comment will make Google block the site, because it messes up their ranking system.
This was one problem that can happening, and there are a lot of problems.
And Now How We Can Attacking Spam Comment?
There are some plugins that can help you to protect your blog from spam comment:
- Akismet: is designed to help you filter out those nasty spammers, and it’s came with WordPress not hard to get it installed into your WordPress system.
After activation from the WordPress plugins menu. If you have a notice that you need the Akismet API, go to the WordPress website and look or ask for one.
Here’s the magic: the only instruction in Akismet is “forget that spam was ever a problem.” You don’t have to do anything else at all – the spam will simply be bounced. You will not receive a notification, nor will you have to go out and delete spam.
If This Still Doesn’t Work, You Can Jump To The Other Step:
2- Htaccess file:
Use the .htaccess file to block unwanted IPs from even seeing your blog. For instance, these lines can be added:
deny from 126.96.36.199
deny from 456.456.456.*
deny from 789.789.*.*
allow from all
IPs are four-part numbers, such as 192.168.0.1. Typically, if you see a pattern with the first two sections being identical, you can block all IPs of that type by simply listing them as 192.168.*.*, as you see above. This screens out all these IP numbers. Blocked IPs will get a 403 error page; customize yours so that your contact details are listed in case you’re blocking out a legitimate user. Don’t use your regular email; a spammer can harvest that too, for a whole new set of problems. Instead, encode your email so that it’s not automatically readable.
When you think you have your problems addressed, you can remove the block from your .htaccess file. If it still doesn’t work, or if you don’t see an IP pattern, it’s likely that spambots are hijacking someone else’s machine to attack your site. In this case, do not use the IP block.
Again, if you don’t have an IP pattern of attack, this may not be worth doing. Remember, too, that with IP addresses, the first numbers affect the largest number of computers, like a reverse address: USA, California, Sacramento, X Building,Ste. 101
, Joe Schmo. An IP follows roughly the same pattern, with the last of the four sections referring to the specific computer it is attached to.
3- Google’s Nofollow Attribute
Of course, if it’s a waste of their time to spam you, spammers may just skip you altogether. For this reason, you can use the Google Nofollow attribute for links: . This attribute is embedded automatically by modern versions of WordPress.
It does not eliminate links, which is what spammers are working on adding to your site. Instead, it makes those links irrelevant to Google. The end result is that it doesn’t hurt your rank in Google, and it doesn’t help a spammer to send data to your site. It also marks you, for spambots looking for an easy target, as a waste of time.