Key Takeaways
- rel="nofollow" is an HTML attribute that tells search engines not to pass SEO value (link juice) to the target page.
- Since 2019, Google treats nofollow as a hint rather than a directive so it can handle links based on context.
- Nofollow helps prevent link spam, save crawl budget, and keep a natural backlink profile that drives real traffic.
What is a nofollow link?
Nofollow is an attribute of the HTML link tag, written as rel=”nofollow”, that tells search engines the site doesn’t want to pass SEO value (link equity) to the destination page through that link. Google introduced the attribute in 2005 to help webmasters fight link spam on blogs and forums. When Googlebot crawls a page and finds a link with the nofollow attribute, it notes that the link exists but doesn’t count it as a “vote of confidence” for the destination page. In other words, nofollow links usually don’t directly affect the PageRank or keyword rankings of the page they point to. Technically, a nofollow link looks like this in HTML:<a href="https://example.com" rel="nofollow">Anchor Text</a>
Compared with a regular (dofollow) link, which has no rel attribute or uses rel=”dofollow”, a nofollow link sends search engines a clear signal: this is a reference, not an endorsement of quality from the source site.

How the rel=”nofollow” attribute works in SEO
The rel=”nofollow” attribute works by asking search engines not to follow the link and not to pass ranking value (link equity) through it. When Googlebot crawls a page and encounters a nofollow link, it doesn’t use that link to calculate PageRank for the destination page. Specifically, the search engine processes it in this order: Googlebot crawls the source page, detects a link with rel=”nofollow”, records that the link exists without passing ranking value to the destination page, and continues crawling the other links on the page. However, since 2019 Google has treated nofollow as a “hint” rather than a “directive.” That means Google may choose whether or not to follow a nofollow link depending on context, instead of ignoring it entirely as before. This change significantly affects how SEOs assess the real value of nofollow links in an off-page strategy.Nofollow is no longer a binding “ban” for Google. Since 2019 it’s only a “hint,” and Google decides whether to follow the link based on many different factors.

Nofollow vs. dofollow links: what’s the difference?
Nofollow and dofollow links work differently in the eyes of search engines, even though ordinary visitors can’t tell them apart on a website. A dofollow link lets Googlebot follow it and pass SEO value to the destination page, while a nofollow link signals that the source site doesn’t want to pass link equity through it. Here’s a detailed comparison of the two link types:| Criteria | Nofollow | Dofollow |
|---|---|---|
| HTML attribute | rel=”nofollow” | None needed (default) |
| Passes SEO value (link equity) | No (or very little since 2019) | Yes |
| Affects the destination page’s PageRank | Not directly | Yes |
| Does Googlebot follow it? | May ignore or follow it (hint) | Always follows |
| Impact on keyword rankings | Not directly | Can improve rankings |
| Common use cases | Ads, comments, affiliate links, untrusted sources | Internal links, links to reputable sources |
rel=”nofollow” vs. rel=”sponsored” vs. rel=”ugc”
Besides rel=”nofollow”, Google also supports two other link attribute values, rel=”sponsored” and rel=”ugc”, introduced in September 2019. These three attributes let webmasters classify the purpose of each link more precisely, instead of lumping everything under nofollow as before.| Attribute | Purpose | When to use it | Examples |
|---|---|---|---|
| rel=”nofollow” | Tells Google not to pass SEO value through the link | General links you don’t want to endorse | Sidebar or widget links, unverified sources |
| rel=”sponsored” | Marks links that are commercial or paid | Ads, sponsored posts, affiliate links | Banner ads, paid PR articles |
| rel=”ugc” | Marks links in user-generated content | Comments, forums, community posts | Links in blog comments, forum posts |
rel="nofollow sponsored" or rel="nofollow ugc". This keeps you backward compatible with search engines that don’t yet support sponsored and ugc.
Nofollow vs. noindex: how are they different?
Nofollow and noindex are often confused because both control how search engines behave. But they work at completely different levels: nofollow applies to individual links, while noindex applies to an entire page.| Criteria | Nofollow | Noindex |
|---|---|---|
| Scope | A specific link | An entire page |
| Where it goes | In the <a> link tag | In the <meta> tag or HTTP header |
| Main purpose | Stop passing SEO value through a link | Stop Google from indexing the page |
| Does the target page appear in search results? | Yes (if it has other dofollow links) | No |
| Does the bot crawl it? | May skip that link | Still crawls but doesn’t index |
Benefits of nofollow links in an SEO strategy
Nofollow links deliver real value to an SEO strategy; they’re not just “worthless links,” as many people assume. Here are the specific ways nofollow contributes to website optimization.
Prevent backlink spam and protect your site’s quality
Blog comment sections, forums, and user-generated content are common targets for link spam. Adding nofollow to links in these areas keeps your site from accidentally “vouching” for low-quality or harmful pages, which protects your SEO reputation with Google.Make better use of Googlebot’s crawl budget
Every website has a crawl budget, the number of pages Googlebot can crawl in a given period. By adding nofollow to internal links that point to low-value pages (login pages, terms of service, product filter pages), webmasters can nudge Googlebot to focus on more important pages.Reduce the risk of a Google penalty
Google requires all commercial links (ads, affiliate links, sponsored posts) to be marked nofollow or sponsored. If you don’t comply, your site risks a manual action for violating Google’s link scheme guidelines. Using nofollow correctly keeps your site safe within Google’s ecosystem.Build a natural backlink profile
A backlink profile made up entirely of dofollow links looks unnatural to Google. A healthy mix of dofollow and nofollow links shows that your backlinks were earned naturally rather than through manipulative link-building campaigns. Many SEO studies show that nofollow links commonly make up about 30 to 40% of total backlinks for reputable websites.Drive real traffic and brand awareness
Even though they don’t pass link equity, nofollow links from major platforms (Facebook, YouTube, Reddit, Quora) can still bring in significant real traffic. People click a link because the content is useful, not because of its rel attribute. Traffic from nofollow links can also indirectly create positive engagement signals for SEO.When should you use rel=”nofollow” on your website?
Not every link on your website needs nofollow. Using it correctly requires understanding the purpose of each link and assessing how trustworthy the destination is. Here are the cases where you should add nofollow to a link.Advertising and affiliate links
Every commercial link, including banner ads, affiliate links, links in sponsored posts, and Google AdSense, must be marked nofollow or sponsored. This is a clear Google rule, and violating it can lead to a manual action.User-generated content (UGC)
Blog comments, forum posts, community articles, and any content you don’t fully control should use nofollow or ugc on the links inside them. This prevents spammers from exploiting UGC areas to insert dofollow links to their own sites.Links to sources you haven’t verified
When you cite or link to a website whose content quality, reputation, or safety you’re unsure about, add nofollow. This protects your site from being associated with pages Google may view negatively.Internal pages that don’t need to rank
Pages such as “Log in,” “Sign up,” “Privacy Policy,” and “Terms of Service” usually don’t need to appear in search results. Adding nofollow to internal links pointing to them can help optimize crawl budget and steer Googlebot toward more important content.How to add rel=”nofollow” to links on your website
You can add the rel=”nofollow” attribute to links in several ways, from editing the HTML by hand to using plugins on popular CMS platforms. Here’s a step-by-step guide to both methods.Method 1: Edit the HTML directly
Step 1: Create or open a post in the CMS you use (WordPress, Shopify, Webflow, or another CMS). Step 2: Insert the link into your text as usual by highlighting the text and clicking the link icon in the toolbar. Step 3: Switch to HTML view (in WordPress, the “Text” tab or the “Edit as HTML” option in the block editor). Step 4: Find the <a> link tag that needs nofollow. A regular link looks like this:<a href="https://example.com">Anchor Text</a>
Step 5: Add the rel=”nofollow” attribute inside the <a> tag, resulting in: <a href="https://example.com" rel="nofollow">Anchor Text</a>
For external links, you can also add target=”_blank” rel=”noopener nofollow” so the link opens in a new tab securely.
Method 2: Use a WordPress plugin
On WordPress sites, you can use popular SEO plugins to add nofollow without editing HTML by hand. Plugins such as Yoast SEO and Rank Math let you turn on nofollow for links right in the visual editor. For example, when you insert a link with Rank Math, you can check “Nofollow” in the link options without switching to code view. In addition, the WPCode plugin (formerly Insert Headers and Footers) lets you add a snippet that automatically applies nofollow to every external link across the site, which saves time when you have many older posts to update.How to check for nofollow links in your browser
Checking whether a link is nofollow or dofollow is an essential skill for anyone in SEO. There are three common ways to check a link’s attributes, from manual checks to automated tools.Method 1: Use View Page Source
Right-click the page that contains the link, choose “View Page Source” (or press Ctrl + U; Cmd + Option + U on a Mac). Use Ctrl + F to find the link’s URL or anchor text. If the <a> tag includes rel=”nofollow”, it’s a nofollow link. If there’s no rel attribute or it says rel=”dofollow”, it’s a dofollow link.Method 2: Use Inspect Element
Right-click the link you want to check and choose “Inspect” (or press F12). The browser highlights the link’s HTML. Look at the rel attribute in the <a> tag to see whether the link is nofollow, sponsored, ugc, or dofollow.Method 3: Use a Chrome extension
Extensions such as “NoFollow,” “Strike Out Nofollow Links,” or “SEOquake” automatically highlight nofollow links on the page with an outline or strikethrough. This saves time when you need to check many links on a page at once.How Google changed the way it handles nofollow in 2019
In September 2019, Google announced an important change in how it treats the rel=”nofollow” attribute: it moved from a “directive” (a rule that must be obeyed) to a “hint” (a suggestion Google may or may not follow). It was the biggest change in the 14 years since nofollow was introduced in 2005. Before 2019, Googlebot completely ignored nofollow links when calculating rankings. Starting in March 2020 (when the new policy took full effect), Google began treating nofollow, sponsored, and ugc as “hints” to decide whether to use a link for crawling and indexing. This change has three main implications for SEOs. First, nofollow links from authoritative sources (Wikipedia, major news sites, industry forums) may provide more indirect SEO value than before. Second, Google uses nofollow links to discover new content to crawl, so the destination of a nofollow link can still be discovered and indexed. Third, classifying links accurately with sponsored and ugc helps Google better understand the relationships between websites.Since 2019, understanding nofollow means understanding all three link attribute values (nofollow, sponsored, ugc) and Google’s “hint” model. SEOs need to stay current so they apply the right attribute to each type of link.
Nofollow in the age of AI search and LLM crawlers
Besides Googlebot, today’s web also includes bots that collect data for AI models (LLM crawlers) such as GPTBot (OpenAI), ClaudeBot (Anthropic), PerplexityBot, and Google-Extended. In this context, a natural question is: how does the nofollow attribute affect whether AI platforms cite your website’s content? Currently, most LLM crawlers respect robots.txt directives but don’t necessarily handle nofollow the way Googlebot does. So a nofollow link on page A pointing to page B may still be followed by an LLM crawler that collects page B’s content, even if Googlebot chooses to ignore the link. For businesses building a GEO (Generative Engine Optimization) strategy, controlling how LLM crawlers access content requires a combination of methods: configuring robots.txt for each AI bot, using the right meta robots tags, and a content strategy that ensures information is cited accurately when AI assembles answers. Viwise helps businesses control how their content is collected and cited by both Googlebot and LLM crawlers, including optimizing link structure (dofollow, nofollow) for each type of bot.How to balance nofollow and dofollow links for modern SEO
An effective nofollow strategy goes beyond knowing when to add the attribute. It takes a holistic approach that balances dofollow and nofollow across your entire site. Here’s a framework SEOs can apply to both internal and external links.Internal links
Keep most internal links dofollow, especially links between pillar pages and cluster content. Only add nofollow to links pointing to pages that don’t need to rank (login, cart, duplicate filter pages). A clear internal linking structure helps Googlebot understand your site’s topical authority and distribute PageRank efficiently across pages.External links
Links to authoritative sources (Wikipedia, government sites, scientific research) should stay dofollow because they’re a positive E-E-A-T signal. Commercial links (ads, affiliate links) must be marked sponsored. Links in UGC areas (comments, forums) should be marked ugc. Links to unverified sources should be marked nofollow.Your backlink profile
Don’t worry about receiving nofollow backlinks from major platforms. A nofollow share of about 30 to 40% of your backlink profile is normal and natural. Focus on creating quality content that naturally attracts both dofollow and nofollow backlinks, instead of chasing dofollow link counts.Nofollow link FAQs
Do nofollow links affect SEO rankings?
Nofollow links don’t pass ranking value (link equity) directly to the destination page. However, since 2019 Google has treated nofollow as a “hint” rather than a “directive,” so it may choose whether to count a nofollow link depending on context. Nofollow links from reputable sources still bring real traffic and brand signals.What’s the difference between nofollow and dofollow links?
Dofollow is the default link type, which lets Googlebot follow the link and pass SEO value to the destination page. A nofollow link carries the rel=”nofollow” attribute, signaling that Google shouldn’t pass link equity through it. Ordinary visitors can’t tell the two apart by looking at a website.When should you use the rel=”nofollow” attribute?
Use nofollow for ad links, affiliate links, blog comments, user-generated content, links to unverified sources, and internal pages that don’t need to rank. Google clearly requires every commercial link to be marked nofollow or sponsored.How do you check for nofollow links in your browser?
There are three common ways: right-click the link and choose “Inspect” to see the HTML; use “View Page Source” (Ctrl + U) and look for the rel attribute in the <a> tag; or install a Chrome extension such as “NoFollow” or “Strike Out Nofollow Links” to highlight them on the page.What’s the difference between nofollow and noindex?
Nofollow applies to an individual link and stops Google from passing SEO value through it. Noindex applies to an entire page and tells Google not to index it in search results. The two work at different levels and don’t conflict when used together.How do rel=”sponsored” and rel=”ugc” differ from rel=”nofollow”?
All three are rel attribute values for links. rel=”sponsored” is for paid and advertising links. rel=”ugc” is for links in user-generated content (comments, forums). rel=”nofollow” is the general value for any link you don’t want to pass SEO value. Google introduced sponsored and ugc in 2019.How do you add rel=”nofollow” in WordPress?
In WordPress there are two ways: edit the HTML by hand (switch to the code/HTML view and add rel=”nofollow” to the <a> tag), or use an SEO plugin such as Rank Math or Yoast SEO, which lets you check a nofollow box in the visual editor when inserting a link.Should you add nofollow to all external links?
No. Dofollow links to authoritative sources (Wikipedia, government organizations, scientific research) are a positive E-E-A-T signal that helps Google see your content as more trustworthy. Only add nofollow to commercial links, UGC, or unverified sources. Understanding nofollow links is essential if you’re building a link strategy for your website. From the basics of the rel=”nofollow” attribute and how it differs from sponsored and ugc, to Google’s 2019 “hint” model, each factor directly affects how Googlebot and LLM crawlers evaluate the links on your site. Instead of treating nofollow as a “worthless link,” use it as a strategic tool to protect your site, optimize crawl budget, and build a natural, safe backlink profile.- Website: Viwise Agency
- Email: contact@viwise.vn
Follow Viwise on Google
Add us as a preferred source to see our articles sooner in your Google search results.
Need help with your SEO strategy?
Contact the Viwise Agency team for a free SEO consultation and a strategy tailored to your business.
Contact Us

