Spam the comments If comment Author URL is bigger in WordPress

Spam the comments If comment Author URL is bigger in WordPress

Spam comments are most irritating for bloggers. Reading the all comments and there content and deside. If Comment author URL is bigger then you should consider that comment as Spam comment for sure. Many times I observed, spammer always try to add there site URL in Author URL. Using following code you can protect your site from spam commenters. Open your functions.php file from your theme folder and just copy/paste the following code into that.
kill spam comments by changing the filename wp-comments-post.php

kill spam comments by changing the filename wp-comments-post.php

With Wordpress blogs and sites spam comments is very big issue. That waste our lot of time. There is very nice plugin called Akismet by wordpress. Which is helpful for catching the spam comments but that is not smart enough. Some spambots simply hit the wp-comments-post.php and wp-trackback.php files directly, without scanning your site to find the real names of these scripts. You can foil such bots by renaming these files. This files will not track which comment is spam. In this tutorial I will tell you about how to change the filename of wp-comments-post.php file another name. This way you can easily protect your blog against spammer comments.