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

How to add Google Plus Commenting System on Blogger

Just like Facebook comment box Google also provides Google Plus commenting system to blogger blogs. Nowadays social media's have more impact than newspapers, the number of social media users are huge and increasing day by day. So, if you want to get rid of the oldest and ugly blogger comment box, I strongly recommend you to use Google plus commenting system in your blog. Why Google Plus commenting system Google+ is a popular social network which has millions of active users worldwide, we can use this popularity to get higher exposure to our blog. Integrating Google+ comment box is very easy and it has more features compared to default comment box More comments , good and keyword rich comments are always good in terms of SEO, if someone posts a reply from Google+, it will show below your blog post which means comments from Google+ will automatically display on your blog Less spam , blog spamming is one of the biggest problems for a blogger. You can reduce spam comments...

Simple Related Post Widget for Blogger Without Thumbnail

The most important part of a blog is it's designing, it increases the chances of getting more exposure because we humans always attracted to objects with good appearance. While designing, some of us like to include more pictures in our blog and others like to keep it simple. Blogger default templates don't have related post widget. I don't know why they avoid it because it has many advantages.  Most of the blog has related post widget, do you know why they kept it? Internal linking has a major role in SEO, a proper internal linking can improve the total page views and can help to achieve higher search engine ranking. When a person enters to read a particular article, he could see related articles to that post. So by using related post below the post we can create multiple page views from a single visitor. In my previous post I have explained how to put related posts widget with thumbnails, so in today's tutorial, I will help you to add a simple relat...

How To Add Stylish Related Posts Widget for Blogger With Thumbnails

Related posts with thumbnail is an important widget for a blog, it has an ability to keep the readers in your blog. There is no widgets are available for related posts from blogger, so we have to do it by little html coding. Don't worry! Here I'm going to give you a complete step by step guide with picture to add a stylish related post widget for blogger with thumbnail. When we talks about SEO, internal linking contribute a large role in increasing the page views. If a reader enters into your blog they automatically see the 'related posts' widget, this may attract your visitor to click on the next post which will increase your overall pageviews. There are lots of  third-party  related posts are available for blogger but they may affects your blog badly because they increase the loading time which cause negative impact on seo of your blog. Step by step guide  to add stylish related post widget for blogger with thumbnail. Step1 : From Blogger Dashbo...