Skip to main content

How to Hide or Remove Spam Links From Blogger Comments

Tired of blog spamming? I have the best solution for you to remove or hide spam links from comments of your blog.

The comment section of a blog has a vital role in deciding the search engine ranking because it is a part of on-page SEO. As we all know blog commenting is one of the easiest ways to earn backlinks and traffic to any blog. Whether your blog is old or new, every blogger should have an effective comment strategy.

Newbie bloggers always try to gain more backlinks to increase their website ranking. So, they will insert some hyperlinks in the comment box. This will leads to spamming and there is a chance to deviate the visitors from your site to other.

So when commenting always try to include keywords this will help you as well as the author of that post. Try to remove spam links while adding your thoughts, you don't need to put a link every time to get backlinks. Even no-follow blog comments can also generate traffic if your thoughts are informative.

Sometimes we get quality comments with links in it, then we don't wants to avoid it completely but we likes to publish it without the spam link in it. So here I will explain ways to remove or hide spam links from a blogger comment box.

Disable hyper links from blogger comments

Warning: As usual, we have to insert some codes to template HTML, so keep a backup of your current template.

Hide spam links from blogger comments


Do you want to hide the link and the text also? If the answer is yes follow me, I will describe with step by step tutorial
.
1. From your Blogspot dashboard navigate to Template > Edit HTML and click anywhere inside the HTML code and press Ctrl +F to search for </head> tag.

2. Now copy the below piece of code and paste above the </head> tag.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" />
Note: if you already added this jquery code, avoid this step.

3. Now search for the </body> tag and paste below code above the tag.
$('#comments p a').hide());

Remove spam links from blogger comments


Above method hide both the text and link, but by following these steps you can remove only the links but not the word which contains hyperlinks. Let's start,

First and second steps are same as above, after that insert below code above </body>
<script type="text/javascript">
$("#comments p a").each(function () {
    $(this).replaceWith($(this).text());
});
</script>
Now save the template, preview the post and ensure it is done properly.

Final word


We are successfully done it, now it's up to you, removing spam links from comment box is not the only solution always do comment moderation this will minimize the spam comments. Understand the type of comments and utilize it properly to enhance the SEO as well as the ranking of your blog.
Hope the tutorial is helped you, if you have any questions or doubts please feel free to share it with us via comments. Take care!

Comments

Popular posts from this blog

101 Free Blog Directories To Submit Your Blog

Getting good exposure to your blog is very difficult at the beginning, this may cause cracks on your interests. Blog directories are the best way to get decent traffic to your blog. Here I'm going to give you a list of free blog directories to submit your blog. What is blog directory?      Blog directory is a website which categorises the blogs under different categories, these are not search engine so people cannot search the blog but they can find your blog in corresponding category, popularity of these directories helps to increase the traffic to your blog. You can categorize your blog according to the niche of the blog. Blog directories not only helps in improving traffic but also provides good backlinks, these backlinks helps your blog to get ranked in search engines.read my 30 amazing tactics to get more traffic on blogger Blog directories provides different methods to submit your blogs. Free submission :-  There is no charge for submission and listen

30 Amazing tactics to get more traffic on blogger

Page views are the backbone of a blog, if we get very less page views even after writing quality content it may affect our interest towards the blog. So the page views  has a big role in  the survival of a blog. Considering the importance of traffic to a blog am going to tell you some of powerful tactics to get more traffic on blogger. When i started blogging , it was very difficult for me to get a decent traffic but I'm concentrated in  writing quality content. Just like newtons third  law, every action there is  an equal  and opposite reaction, I got   good traffic after eight to ten months as a result of posting quality contents at regular intervals. So don't worry results will come but you have to do your part which means you have to create a great blog post. Don't allow the visitors to leave your blog, this is the best working ways to increase your page views. This is simple and effective, for this you have to create internal lin

How To Make Money On Blogger Without Adsense

Some people takes blogging as a hobby and some takes as their passion, you can make your passion into money if you take some effort. Blogging is a best source of online money, we all know Adsense is one of the best way to make money from a blog. Here am going to tell you about how to make money on blogger without Adsense. There are hundreds or thousands of blogs are giving ideas about how to make money with blogger. Some of them are giving a wrong details, this given a bad name to make money from blogger.  Can you Really Make money with Blogging? The answer is yes, you can create a decent amount of money from blogger. If you're passionate about a subject and you have decent writing skills, blogging definitely could be an alternative career path for you. 1. Join Pay per click advertising Program.                                        PPC stands for pay-per-click , a model of internet marketing in which advertisers pay a fee each time one of the