Skip to content

February 21, 2008

2

Comment Duplicate Content in Blogger Blogspot

Blogger Blogspot comment permalink by default will create duplicate content, so you need to hide the permalink to the comment from search engines.

Here’s how:

  1. Login to blogger.com -> Design -> Edit HTML -> check Expand Widget Template
  2. Find this code inside the template [1]:
  3. <a expr:href='data:comment.url' title='comment permalink'>
    <data:comment.timestamp/> </a>
  4. Delete and replace with this one:  <b:if cond='data:post.commentPagingRequired'>
    <a expr:href='data:comment.url' title='comment permalink'> <data.comment.timestamp/> </a>
    <b:else/>
    <a expr:href='data:blog.url + &quot;#&quot; + data:comment.anchorName' title='comment permalink'> <data:comment.timestamp/> </a>
    </b:if>
  5. Click [Save Template]. Done.[2]

=======

[1] Use CTRL+F or F3 to search code inside template easily.
[2]Credit for this hack goes to Cranked.me

2 Comments Post a comment
  1. Jul 5 2010

    Waah . .
    Gawat nih, blogku banyak duplikasinya! :(
    Makasih mas sudah berbagi. :)

    Reply
  2. Oct 12 2010

    makasih bro..info yg bermanfaaat…

    Reply

Share your thoughts, post a comment.

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments