How and When to use Nofollow Links and Follow Links

Last Updated on October 2, 2022 by 23 Comments

How and When to use Nofollow Links and Follow Links
Blog / Marketing / How and When to use Nofollow Links and Follow Links
Play Button

Everywhere you look online, there’s a link to click that leads you somewhere because we’ve been trained by Google to believe that links are necessary to rank our sites in search results. But that’s only partially true. If you really want to have good SEO and get that link juice from Google, you need to understand two things: nofollow links and follow links (sometimes referred to as dofollow links).

Subscribe To Our Youtube Channel

Nofollow and Follow Links: What’s the Difference?

It isn’t quite clear what they are to most people. After all, you click a link and follow it to where it points. So is a nofollow link just a link that you click and click and click, only for it to take you nowhere? No, though that would be a super funny prank to pull on your website visitors.

nofollow link is actually a tag inside the HTML of the link (rel=”nofollow”) that tells search engines that you don’t want them to click the link, and therefore you will pass absolutely no link authority to the website you link to. A follow link then, or dofollow, is one without the rel=”nofollow” tag that tells search engines to follow it and let that site know you’re linking to it.

nofollow link will look like this in your post or on your page:

<a href="" rel="nofollow">Elegant Themes Blog</a>

Here’s the question most people ask: isn’t telling search engines to ignore the link and not pass juice selfish? To which we answer: No, not at all. You’re really helping them out as much as yourself if you correctly set up your rel=”nofollow” strategy.

Google’s algorithm for page rank takes into account two things for links:

  • the number of links from/to any given website
  • the quality of the website linking/being linked to

So let’s look at the reasons you’d use nofollow links, how you put them into your site, and when you want to eschew them in favor of good ole, SEO building follow links.

When and Why to Use Nofollow Links

You will find a lot of reasons to use nofollow links throughout your website. They may all be in different spots, too. Let’s break down some of the most common places and why you’re going to keep search engines from using the link for SEO.

1. Links in comments

If people can post links in comments, they will abuse that privilege. Especially of those are follow links. They can post a link to wherever, and your site will pass along PageRank and link juice. That is basically you vouching for the website whenever someone posts a link there. You don’t want to do that. So nofollow those links. WordPress does this by default, actually.

By making your comments contain nofollow links, you also help facilitate discussion because real people’s comments and threads don’t get interrupted by meaningless comments. Doing this is good for everyone.

2. Distancing Yourself from Undesirables

Every content creator has done it at some point or another. Linked to a site that we knew was bad news, but for one reason or another needed them for a reference. Maybe you linked an infographic from a news site that you don’t want to be associated with. Perhaps there’s a scam or hack or scandal, and you link to it as a warning to your users, but don’t want to give them any boost in Google’s eyes. So you link to them but nofollow it. They may still get a few visitors, but you aren’t providing them a permanent boost.

3. The Whole Page is Irrelevant to your Niche

Let’s say that you have a bicycling store. If, for some reason, you post a blog about how to bake a cake or have a page on your site advertising a local storytelling festival. You link to a ton of relevant, cool resources for that topic. However, Google may look at the overall website and assume that page has been put there against your knowledge because it’s so different from your normal content. The search engine would assume that those were part of a Black Hat link building campaign and then penalize you for that. In this kind of instance, you can add a nofollow meta tag to your header. Then all the links on the page would become nofollow.

Fun fact: this is what the nofollow attribute was originally for. It was later adapted to be applied to individual links for better control.

4. You Have Been Paid to Include the Link

If you include sponsored content on your blog, that’s great. It’s a fantastic way to monetize a blog. We do exist in an influencer culture, after all. However, your readers need to know that the content is sponsored — and so do the search engines. Any time you have a link that is only on your website because you have been sponsored to put it there, it should not be a follow link. You absolutely, 100% need to include rel=”nofollow” on it.

Even if your contract doesn’t say specifically that you have to link to any particular website, only create the content, you still need to make everything related to it a nofollow link. To a product page, to the company’s website, to a contest form, anything. They are paying for referral traffic based on your audience, not link juice based on your PageRank. By the way, this also includes affiliate links. So add rel=”nofollow” to those, too, since you’re profiting from them.

5. The Link Appears on Multiple Pages in the Same Spot

Basically, if you have links in your sidebar that appear on each and every page on your site, mark them to be nofollow links. Because each time you make a post or update, a new backlink is generated, and eventually you will appear as one of the undesirables to Google. Footer links also fall into this, and, for instance, you run a design agency that links back to your home page on each client site, you may want to think about nofollowing it. People can still click the links, but you avoid Google penalties at the same time.

Why You May Want Nofollow Links to Your Website

There are a few times when you may actually want nofollow links on your site. Well, maybe not want them, but prefer them to the alternatives.

For instance, if you have the low-quality website linking to you 3,000 times, that makes your website look suspect. Or if you have 50,000 different websites linking to your site with sidebar links on every page, you look suspicious because most of those pages aren’t relevant to your content. Plus, they’re identical.

Google’s Matt Cutts says in no uncertain terms that nofollow links will not hurt your rankings. They can only do that if you’re working on a spam campaign on a massive scale. He gives a quick rundown of why and how nofollow works in this video.

Outside of just not hurting you, nofollow links can actually help you. Because of…

Referral Traffic

Either way, nofollow or follow links to your site are just that. Links. And people click links. Regardless of the algorithmic status of the links, people will click through to your site if it’s relevant to them. Which means that if someone links to you at all, you can get a huge increase in referral traffic. Just because they’re telling Google not to follow that link, they are telling their readers to do just the opposite. (Why else include the link?)

If you get linked on a major blog or news outlet or YouTube channel (all outbound links on YouTube are nofollow), they probably have themselves walled off against Google’s punishment by using nofollow across the board. But just because they aren’t passing along their massive volume of link juice doesn’t mean they aren’t helping you. Organic traffic is how you create an audience, engage with your users, and really establish yourself. Referral traffic from a major source, nofollow or not, is only going to help you.

How to Find Nofollow Links and Follow Links

If you want to find out if an individual page has follow links or not, it’s actually very simple to do so manually. Just right-click anywhere on the page that is not a link to bring up the context menu. Select View Page Source.

Nofollow Links and Follow Links

That will open up the page’s source code, and you can do a search by pressing CTRL/CMD – F and typing in nofollow. Any links that have the attribute will be highlighted for you.

Nofollow Links and Follow Links

This method works great if you happen to find a link to your site in a particular blog or article. It’s a quick and easy way to check for nofollow links. But unless you can manually scour every single page of the internet and look at their source code, you will need a tool specially designed for that.

Enter Moz Link Explorer

Moz’s Link Explorer is one of the best ways to check to see how many of your inbound links are tagged. While the Moz Pro service is premium, you can get 10 URL queries a month with a free account to check on your site.

  1. Sign up and head to the Inbound Links tab in the left sidebar
  2. Select nofollow from the Link Type dropdown
  3. Look at the results repopulate with the nofollow flag
  4. Check the spam score for the linking domain (the lower, the more legit)

Nofollow Links and Follow Links

Using a service like this (Ahrefs is another great one), you can keep track of who is pointing in your direction. Also, you can use the dropdown to see which are the most popular and useful follow links heading your way, too.

If, somehow, you find that you are being penalized because of a high amount of links from a few sites, you can always petition Google through the Google Search Console to simply discount those links. So if you think you should have nofollow links, you can essentially get them this way.

How to Use Nofollow Links

Setting up nofollow for individual links is pretty easy. In general, any page or post you create — regardless of platform — will give you the option to view/edit it as HTML. It may simply be called the Plain Text version or something similar. In WordPress, depending on your editor, it will either be called HTML (for Gutenberg) or Text (for the Classic Editor). Drupal, Joomla, etc. will all have similar functions.

When you see the code for the page or post, you just add rel=”nofollow” into the a flag as in #2 in the image below. No link juice would be passed to Moz. If, however, you look at #3, you have nothing impeding Ahrefs from getting the juice.

Nofollow Links and Follow Links

Adding the nofollow tag really is that simple. Just type it in.

If you prefer not to even mess with code that much, there are plugins and extensions to do this for you. On WordPress, you can add the attribute on a link-by-link basis with a plugin like Ultimate Nofollow. It’s a visual checkbox in the normal link-editing process.

Nofollow Links and Follow Links

On Drupal, you get the simply titled Link.

Nofollow Links and Follow Links

Joomla has meta NoFollow.

Nofollow Links and Follow Links

As you can see, it’s not hard to toss in the attribute to your follow links to turn them into something the engines ignore.

Follow Links: When, Why, and How

Now that we’ve covered the gamut of nofollow, let’s take a quick look at the dofollow links that will still likely make up the majority of your website.


To use follow links, all you have to do is not add nofollow. There is no follow attribute for HTML. They are all follow links by default. It takes something stepping in for it to become nofollow — such as WordPress defaulting comments to nofollow.


In general, you want follow links to be the norm. So you will want to use them the majority of the time. Keeping your links open like this will let search engines more accurately map your website and develop a sitemap — keep those internal links dofollow, remember. Also, most of the time you want to keep external links in the body of your content as dofollow. You would only want to mark them nofollow in the instances we discussed above.


Because the internet is a social place, and we need to help each other out. That’s why Google prioritizes links into PageRank as highly as it does is. They want us to link out to other places. They just want us to link conscientiously and mindfully. Google wants us to share content that is relevant to readers and provides real value. If you’re creating content in a normal way, conscious of which sites you link to, and don’t try to game the system, follow links by default are definitely the way to go.


Links are the backbone of the internet. The whole web as we know it is based on hyperlinks, and we need to be sure that we’re treating them well so they treat us well. They increase your PageRank and provide juice to the target site. Links drive back-and-forth referral traffic. And your readers have content and resources that they will want to click on. When used the way they are meant to be used, both nofollow links and follow links are tools that serve specific purposes at specific times. And now you know what those are.

What is your nofollow strategy for your website?

Article thumbnail by astephan /


Want To Build Better WordPress Websites? Start Here! 👇

Take the first step towards a better website.

Get Started
Premade Layouts

Check Out These Related Posts

GetResponse Review: Everything You Need to Know for 2024

GetResponse Review: Everything You Need to Know for 2024

Updated on March 11, 2024 in Marketing

Email marketing can be a powerful tool for growing your business but can also be a major source of frustration. Many marketers and website owners struggle with high costs, clunky technology, and a lack of automation. If you’re looking for a solution that can help you overcome these pain...

View Full Post
SE Ranking Review: Feature-Rich & Affordable? (2024)

SE Ranking Review: Feature-Rich & Affordable? (2024)

Posted on January 29, 2024 in Marketing

Looking for a comprehensive and affordable SEO tool that can help you optimize your website, track your rankings, and analyze your competitors? SE Ranking might be the tool you’ve been searching for. SE Ranking is a cloud-based SEO suite that offers a range of features for different aspects...

View Full Post


  1. My internal links are set to nofollow. how do make them dofollow.?

  2. This would be great to get info on how to nofollow with divi as an affiliate marketer this and lack of tables like thrive themes is a huge negative of divi, there are certain things you just have no options to nofollow like images and certain link areas, great you guys added it to buttons, but you cant really half Ahs this one, needs to be added to all elements.

  3. I know how to add rel=”nofollow” to a text. But how do I do it for an image? I have images of books that link to its Amazon page. How do I insert rel=”nofollow” into the image?

  4. I’m going to work on it – I’ll probably have questions;)
    Is there a way to find all the internal links on the site?
    Thank you very much for the detailed guide!!

  5. Going to work on it – thank you very much for the detailed guide!!

  6. My head is spinning

    • Is there anything I can help clarify?

      • I have a yarn business – selling yarn of my own brand, but also other popular brands, on product pages i often leave a link to the manufacturer’s website, they have alot of useful info, you cant order with them, its just for info, should i nofollow these?

  7. Very Informative Article…

    This is good for beginners to understand where should they use NoFollow links and DoFollow links. One should remember all the above mentioned things for better SEO.
    Thanks again.

  8. Thanks for this article – it always terrifies me that one can unknowingly be viewed in a negative light by Google.

    Something I am not clear on: typically a menu appears on every page, and it is a list of links, I assume these should not all be “nofollow”. If that is the case, why should footer links (in my case to my privacy policy) or links to social media sites that appear in sidebars on every page by “nofollow”?

    Thanks for any insight.

    • Ian, links that point to pages on your same site (under the same domain) will never hurt your rankings as they will never be considered as link schemes.

      • This is the key point I was missing. The links to sites outside of mine are the ones that are likely candidates for nofollow.

    • Also, what about tags in your tag cloud – these are all links and appear on every blog sidebar?

      • About the tag cloud: tags are not wrong because they are links but may be wrong as they are keyword stuffing (and often irrelevant keywords as tag clouds may contain keywords that are irrelevant to a certain post).

  9. Great post. One question: What about linking out to Wikipedia from a blog to give readers an opportunity to learn about a word or concept you’re introducing. Would it be beneficial to nofollow those links?

    • In general, I’d say it’s fine to keep those dofollow. You’re providing relevant resources for your audience, which is the end goal of all Google’s shenanigans.

  10. Cleaning up my footers now… Thanks!

  11. Our agency has unbeknownst been guilty of adding “designed by…” taglines to our site footers without NoFollow links. We’ll be correcting that! Thanks for the article, B.J.

    • Sounds familiar, I don’t have any penalties but I can understand the reasoning of Google for this measure. I’ll keep it in mind, that’s for sure!

      Thanks for the article, great timing for me personally.

    • We’re all guilty!

      • We are. One thing I didn’t mention is the potential for rankings to drop a bit immediately following the inclusion of nofollow from something like that. It probably won’t be a lot, if any, but be on the lookout just in case so you can adjust your strategy.

  12. Another awesome article. Thanks again. Really good read. Shared too.

  13. Good tutorial, very instructive.

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Get Started With Divi