Skip to content

Posts tagged ‘blogger blogspot’

21
Jun

Archive Duplicate Content in Blogger Blogspot

There are two duplicate content caused by Blogger archive: archive pages and archive widget.
Tutorial on How to fix archive page and archive widget duplicate content in Blogger Blogspot

CONTENTS
1. Archive Pages
2. Archive Widgets

1. Archive Pages

Blogger Blogspot archive pages has generated similar link that Google doesn’t understand. This leads to duplicate content issues and duplicate title tags/meta descriptions. To avoid this issue, you need to block it using meta tag no-index command

How to fix this problem:

  1. Login to blogger.com -> Layouts -> Edit HTML
  2. Add the following code at #3 after <head> tag
  3. <b:if cond=’data:blog.pageType == &quot;archive&quot;’><meta name="robots" content="noindex, follow" /></b:if>
  4. Click Save Template. Done. [1]


2. Archive Widgets

Archive widgets if not properly set will also create a duplicate contents. Here’s how to fix it.

  1. Login to blogger.com -> Design -> Page Elements
  2. Archives -> check Flatlist and Monthly.
  3. Save. Done. (see screenshot below)

blogger archive widget duplicate content

Notes:

[1] Courtesy: Suhastech

21
Feb

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