Wednesday, November 12, 2014

How to optimize Blog comments

Comments are exceptionally important for a blog since they are crawled by search engines. So if a blog is having a lot of comments from the visitors then it is a very good thing. Google and other search engines give importance to the websites or blogs which posts are commented the most. This shows the popularity and usefulness of a blog. But when people leave bad links in their comments, this becomes a headache for the blogger as well as for search engines. Bad links in comments can destroy your blog and SEO. In general, we keep comments links as no follow. And no follow means, we instruct the search engine crawler to not crawl the link inside comments, but crawl only the content of the comment. 



How to optimize Blog comments?
Now here is a simple solution for getting rid of this problem. You'll just have to add an HTML attribute to the comments part of HTML section of your blog. Follow steps below:


  • Login to your blog
  • Template >> HTML >> Proceed >> Check the Expand Widget Templates
  • Now find below piece of code by using CTRL+F

expr:href='data:post.createLinkUrl'
Just replace the above code with given code below:
rel='external nofollow' expr:href='data:post.createLinkUrl' 

  • Save your template and you're almost done!

You can only use rel='nofollow' but the external nofollow is better then only nofollow, because sometimes you can insert links indicating to your blog's other pages, so they will be followed by search engines and the rest won't be.