Solved: qTranslate slug with Widget not working with pages
issue in qtranslate slug, URL is showing but URL is not opening and 404 page is opening. we solved issue qTranslate slug with Widget not working with page
In Article, we tell you about how to change the filename of wp-comments-post.php file another name. and kill spam wordpress comments by changing filename.
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. My site is also faced the spam comments and hack issues by spmmers. So following trick is very useful.
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.
You need to just follow the steps:
You will find following code in comments.php file.
<form action="<!--?php echo get_option('siteurl'); ?-->/wp-comments-post.php" method="post" id="commentform">
just replace to that as follows:
<form action="<!--?php echo get_option('siteurl'); ?-->/<tt>wp-comments-kill-spam.php</tt>" method="post" id="commentform">
This is simple way to protect your blog without any wordpress plugin. This tip is written by wordpressapi.com
If you are having any issue then please write to me firstname.lastname@example.org.