How to add nofollow to a link for SEO


Nofollow and dofollow are the most common heard phrases in SEO. If you consider your website as a valuable resource and wanted to get good amount of organic (search engine) traffic to your website. Then you should consider following the best practices of SEO in order to get good rankings for your website in search engines. For that, one of the best followed practice is using nofollow for your external non-relevant links.

Today I am going to show you how to add nofollow to your links.

You might get suggestions from lot of blogs saying that dofollow links are great way to help you boost your search engine rankings. Of course that is true, but not all dofollow links will help you to gain rankings and some dofollow links might harm you as well. So, you only need to get dofollow links from relevant and high authority websites. And in the same way, you should not link to non-relevant websites and low quality sites. What if, if you want to link to a non-relevant site? In that case, you should use this nofollow attribute. This will help search engines understand that, you are not willing to pass any link juice to non-relevant websites by using this nofollow attribute in your links.

How to add nofollow to your links?

In SEO, there are two techniques.

  1. On Page SEO
  2. Off page SEO

I will explain the above terms later in my coming articles, but you must properly do both SEO’s in order to get good rankings to your website. Linking to relevant and authoritative websites will increase your visibility in search engines. And at the same, you should nofollow non-relevant and low quality websites in order to not to get hurt your search engine rankings. Adding nofollow is considered as the best practice in on page SEO.

Here is how to add nofollow to your links.

By default your normal link’s html code will look like the following.

<a href=””>Dheeraj kumar </a>

And in order to nofollow the above link, you should add rel=”nofollow” at the end of the URL, like in the below

<a href=”” rel=”nofollow”>Dheeraj kumar </a>

Editing in Blogs:

If you are trying to publish an article in WordPress or Blogger, you can simply nofollow your external links by adding rel=”nofollow” attribute to your links by editing the html of that post. For WordPress there are plugins available which automatically nofollow’s your external links. But I don’t that is a best practice in SEO. One should not be afraid in passing his website’s links juice to others. But like I said, you should only pass link juice to relevant sources and nofollow non-relevant sources.

What to do if you have lots of external links in a single page?

If you are having lot of external or outbound links in a single blog post or single page. You should consider in limiting your link juice to pass from your website to few external sites, but not all. Consider in passing link juice to only relevant and high authority websites and nofollow rest of the external links. In this way, Google will think that you are following the best practices of SEO and it will put your website in good search engine rankings.

For your affiliate links and advertisings, you should nofollow those affiliate links as they don’t come under relevant and high quality sites. Sites like, etc are considered as high quality and relevant sites for my website. So, I would be glad to pass my link juice to those sources.

Please let us know if you have any queries related to this topic, we would be glad to help you in this.