How (And When) to Add Nofollow Tag to a Link

Nofollow and Dofollow links are two basic terms in SEO. But these two factors play an important role in SEO. If you don’t use these properly, then you may get penalized by Google. For example, someone asks you to add an Advertising link to your blog and he offers some cash. You become excited and add a dofollow link . Whenever Google bot finds that your passing page rank for money, Google will penalize your blog.

If you are not aware about dofollow and nofollow links, here is some information for you. Dofollow links are those which we want Google bot to follow and Nofollow links are those which we don’t want Google bot to follow. In this post, I will be talking about how to add Nofollow tag to a link. And when you should.


When You Need to Add Nofollow Tag to a Link

Whenever you are linking to a site with dofollow tag, you are passing the link juice that may help the site to rank better. Now you may think that it’s a good idea to tag every links as nofollow. But it’s not, it’s a misconception. There is nothing wrong with dofollow link as long as it’s a relevant link. Now let’s see when to use Nofollow tag.

  • Paid Links – If you don’t want to get penalized by Google, then tag paid links as nofollow. Actually I am a victim of giving dofollow tag to a paid link. One of my blogs got penalized because of that. Even if you are selling banner Ads, make sure to add nofollow tag.
  • Affiliate Links – Google bot won’t buy your affiliate product. It doesn’t make any sense to tag them as dofollow. In fact, I would suggest you to cloak affiliate links.
  • Spammy Sites – Sometimes you may need to mention spammy site on your blog posts, make sure to add nofollow attribute.
  • Widgets/Inforgraphics – Some widgets/infographics contain keyword rich anchor texts. Use nofollow tag on that links.
  • Other – You can use it anytime when you don’t want to pass link juice to a site.

How to Add Nofollow Tag to a Link

It’s very easy. Check this.

Normally a link looks like this

<a href=””>Road To Blogging</a>

To make it nofollow,  you have to add rel=”nofollow” to the link. And it will be look like this.

<a href=”” rel=”nofollow”>Road To Blogging</a>

If you are using WordPress, then you can edit it from HTML view. Just change to Test view and add rel=”nofollow” to the link.

nofollow tag to a link

If you are lazy like me, then you can use a WordPress plugin to do it easily. I use Ultimate Nofollow plugin. This plugin adds a checkbox in the ‘Insert/edit link’ pop up box for including rel=”nofollow” in links. All you need to do is, check the box to make a link nofollow.

ultimate nofollow wordpress plugin

P.S: Don’t use nofollow tag for internal links.

Hope you understood when to use  nofollow tag and how to do it. If you any questions, let me know via comment. If you find this post helpful, help me by sharing this post on Facebook, Twitter and Google+.

11 responses to “How (And When) to Add Nofollow Tag to a Link”

  1. Dilshad Avatar

    I am using commentluv plugin on my blog. Is there any problem that I have to face in future?

  2. noyon Avatar

    Thank you bro for your great article. if I share any file like android app,
    It should be nofollow or not?

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      No, if the file is on Google Play store. But if you are referring to a free download site like Mediafire, then you can consider tagging the link as nofollow.

  3. Mohammed Saimon Avatar
    Mohammed Saimon

    Thanks Istiak for your this post. Now I’m going to install the Ultimate Nofollow Plugin. Thanks once again.

  4. سئو Avatar

    Hi Istiak , its good post and i want to share it on my blog , can i?
    its my blog.

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      Glad you found my post useful. But I don’t think it would be a good idea to share this post on your blog, because Google will consider it as copied content. I would suggest you to rewrite this post on your own way.

      1. سئو Avatar

        i will translate and rewrite this post and then share on my blog.
        my blog language is persian and i dont think that google block me.
        very thanks.

        1. Istiak Rayhan Avatar
          Istiak Rayhan

          Yes, you can rewrite the post. But don’t translate the exact same post. Google bot may consider it as spam as it can translate.

  5. Nikhil ganotra Avatar

    Heyy Istiak,
    You have delivered great tips regarding dofollow and no follow links. I was having a misconception regarding them from a long period of time and this article has cleared them all. I have many affiliate links on my blog. Should I give them nofollow or dofollow links?

    BTW thanks for sharing this awesome article. :)

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      Yes, you should give nofollow tag to all affiliate links.

  6. Kaloyan Banev Avatar
    Kaloyan Banev

    It is fairly easy and there are few different ways to do that. Additionally can add medium page which is no-index for all outbound links.

Leave a Reply

Your email address will not be published. Required fields are marked *