For a Big Blog Owners ( Blogs Which has More Traffic) it is not easy to Keep an eye on comments because many people comment on the blogs per day. so You can't just focus on what people are commenting. The Biggest Problems for bloggers is Visitors Placing spam comments ( May be they comment their own websites / blogs on comment to increase visitors ). So iam going to tell you how to Automatically Remove spam comments from blogger easily. Just follow the steps given below carefully.
4. Now save the Template. That's All you are done. Now you are free from spammers :)
Disadvantage: Although it will be usefull for you to remove spam comments it also has one disadvantage. The comments which don't have any intention to spam also gets deleted if it has any links in it.
If you have any queries please comment below.
1. Go to Blogger Dashboard--> Template --> Edit HTML
2. Now search for </body>
3. Now paste the Below code Just above </body>
<!--Stop Blog Comments -->
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script>
$('.comment-content a[rel$=nofollow]').replaceWith(function(){return ($(this).text());});
</script>
<!--Stop Blog Comments-->
4. Now save the Template. That's All you are done. Now you are free from spammers :)
Disadvantage: Although it will be usefull for you to remove spam comments it also has one disadvantage. The comments which don't have any intention to spam also gets deleted if it has any links in it.
If you have any queries please comment below.
0 comments:
Post a Comment