Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I found one of my blog post was cached by Google (www.example.com/post.html). I found that comment page of the post was also cached (www.example.com/post.html?showComment=1372054729698).

These two pages are showing in Google SERP when I checked cached posts of my blog. Is it possible to use canonical tag on the post www.example.com/post.html?showComment=1372054729698 so that Google won't penalize my original post? Is there any other ways to redirect a blog post?

share|improve this question
up vote 3 down vote accepted

You can add canonical tags by editing your blog HTML template. (See this Google support article on how to edit the template HTML: https://support.google.com/blogger/answer/46870?hl=en)

Then add code like this to the <head> of the document:

<ItemPage><Blogger><link href="<$BlogItemPermalinkURL$>" rel="canonical"/></Blogger></ItemPage>
<MainPage><link href="http://www.example.com/" rel="canonical"/></MainPage>

This uses Bloggers conditional tags (https://support.google.com/blogger/answer/42059?hl=en) so that posts get their permalink as the canonical address (top line) and your blog homepage gets the root URL (bottom line).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.