If you own a Blogger blog, listen up!
A Blog Archive is a common Blogger Widget that displays a bunch of your previous posts on the right side of the screen. The problem with this is that it is very un-friendly to search engines. You should not have that many links on the page.
To fix this, we can add rel='nofollow' to the widget template!
To start, Go to Design - Edit HTML and check the Expand Widget Templates checkbox.
Then we'll have to add the code to the textbox. Search for "BlogArchive" (use ctrl-f) to find this section:
Now we have to add rel='nofollow' to ALL of the lines below. Theres a total of 83 lines you have to look through - if you find the </b:widget> - tag you've gone too far.
<a class='toggle' href='javascript:void(0)' rel='nofollow'>
<a class='toggle' href='javascript:void(0)' rel='nofollow'>
<a class='post-count-link' expr:href='data:i.url' rel='nofollow'><data:i.name/></a>
<a expr:href='data:i.url' rel='nofollow'><data:i.name/></a> (<data:i.post-count/>)
<li><a expr:href='data:i.url' rel='nofollow'><data:i.title/></a></li>
A Blog Archive is a common Blogger Widget that displays a bunch of your previous posts on the right side of the screen. The problem with this is that it is very un-friendly to search engines. You should not have that many links on the page.
To fix this, we can add rel='nofollow' to the widget template!
To start, Go to Design - Edit HTML and check the Expand Widget Templates checkbox.
Then we'll have to add the code to the textbox. Search for "BlogArchive" (use ctrl-f) to find this section:
<b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'>
Now we have to add rel='nofollow' to ALL of the lines below. Theres a total of 83 lines you have to look through - if you find the </b:widget> - tag you've gone too far.
<a class='toggle' href='javascript:void(0)' rel='nofollow'>
<a class='toggle' href='javascript:void(0)' rel='nofollow'>
<a class='post-count-link' expr:href='data:i.url' rel='nofollow'><data:i.name/></a>
<a expr:href='data:i.url' rel='nofollow'><data:i.name/></a> (<data:i.post-count/>)
<li><a expr:href='data:i.url' rel='nofollow'><data:i.title/></a></li>
You're done! Now your users will be able to view your archive and search engines won't suffer for it.