How To Add rel="nofollow" Tag to Category Link Or Label Link In Blogger


I googled a lot on how to add a rel=”nofollow” tag to label link for blogger. After being unsuccessful on google search, I tried myself to add no=follow tag by trial and error method and I managed to add the nofollow tag to label link successfully.

This is how I did it.

1. Log onto blogger and on the dashboard select blog you wish to edit

2. Go to “Design” and then click “Edit HTML”

3. Tick the box “Expand Widget Templates”

4. Now search for the following code:

expr:href='data:label.url'

The best way is to press “ctrl + F” and put the above code in the search box and look for the results.

nofollow category link blogger

In most of the templates you will find the above code two times in your html area. In rare case you will find more than two. In my case I found the above code three times in the html area.

I got the following results when I searched for ” expr:href=’data:label.url’ ”

First one:

<a expr:dir='data:blog.languageDirection' expr:href='data:label.url' rel='nofollow'>

Second one:

<a expr:dir='data:blog.languageDirection' expr:href='data:label.url' rel='nofollow'>

Third one:

<a expr:href='data:label.url' rel='tag'>

5. Since I have found three, so I have to add rel=’nofollow’ to each of them.

After modification the outcome will now be like this:

<a expr:dir='data:blog.languageDirection' expr:href='data:label.url' rel='nofollow'>

<a expr:dir='data:blog.languageDirection' expr:href='data:label.url' rel='nofollow'>

<a expr:href='data:label.url' rel='nofollow'>

Screenshots of my modified code are given below:

Thank you for your time in my stupid blog!

About Nasif

I am a hobby blogger and I love Wordpress. Herbal tea addict. Loves being lazy and zZzZ...