“Noreferrer noopener”, are HTML attributes that can be added to outgoing links. What do these tags do and how they can impact your SEO efforts?
In this post, I will explain the difference between noreferrer and noopener tags, how they are different from the nofollow tag and the impact on SEO when each one is used.
- What is rel=”noreferrer”?
- When to use rel=”noreferrer”?
- rel=”noreferrer” and SEO
- Noreferrer and WordPress
- Noreferrer and Affiliate links
- The Difference Between Nofollow and Noreferrer
- What is rel=”noopener”?
- rel=”noopener” and SEO
Let’s start with some definitions.
What is rel=”noreferrer”?
The rel=”noreferrer” tag is a special HTML attribute that can be added to a link tag (<a>). It prevents passing the referrer information to the target website by removing the referral info from the HTTP header.
This means that in Google analytics traffic coming from links that have the rel=”noreferrer” attribute will show as Direct Traffic instead of Referral.
This is how the noreferrer attribute looks in HTML View:
<a href="https://www.example.com" rel="noreferrer">Link to Example.com</a>
- SEO Full Course
- Become an SEO expert
- Increase your traffic in 60 days or less
- Trusted by more than 3000 students
Here is an example to understand this better:
Let’s say that you link from website A to Website B without the “noreferrer” tag.
When the owner of website B views the ‘ACQUISITION’ report in Google Analytics, he can see traffic coming from Website A, under the ‘REFERRALS’ section.
When you link from Website A to Website B using the “noreferrer” tag, any traffic going from Website A to Website B will show as DIRECT traffic in Google Analytics (and not referral).
When to use rel=”noreferrer”?
Use the rel=”noreferrer” attribute on outgoing links when you don’t want other sites to know that you are linking to them. Can’t think of any valid reason why you might want to do this, but that’s the case.
Definitely do not use the rel=”noreferrer” attribute on internal links, it can mess up with your Google analytics reports.
rel=”noreferrer” and SEO
Adding the noreferrer tag to your links does not directly impact SEO. You can safely use it without worrying about anything.
But it does have an indirect effect in your link building and promotion efforts and the reason is the following:
One of the ways to get the attention of other webmasters is to link to their sites. All webmasters check their Google analytics on a daily basis and especially the ‘Referral traffic’.
When they see traffic from a website, they will most probably check it out and share the page in social media, follow the author or even decide to return the favor by linking back.
This is good for SEO and in fact, it is something that Google recommends as a valid way to get links from other websites (see below the relevant quote from a Google document).
When you have the noreferrer tag attached to your links, nothing from the above will happen because traffic from your website will not show as ‘Referral’ in Google analytics and so the other webmasters will not know that you have linked to them.
You might be thinking, ‘Why even talk about this, I will not add it to my links and that’s the end of the story’.
The reason that this issue has become popular is because WordPress ads the ‘noreferrer’ tag by default to all outgoing links that are set to open in a ‘new tab.’
Noreferrer and WordPress
So, if you are on WordPress you should know that when you add an external link to your content and set it to open in a ‘new tab’ (target=”_blank”), WordPress will automatically add rel=”noopener noreferrer” to the link.
They did this to improve the security of WordPress rich editor (TinyMCE) and to prevent tabnapping and other phishing attacks.
Here is an example:
<a href="https://www.externalsite.com/" target="_blank" rel="noopener noreferrer">my external link</a>
As explained above, this will prevent any information to be passed to the new tab and the end result is that any traffic that will go from your website to the linking website (by clicking the link), will not be shown in Google Analytics.
How to remove rel=”noreferrer” from WordPress links
The easiest way to prevent WordPress from automatically adding the attribute to external links is NOT to open the links in a new tab. In other words, to have the links open in the same window.
This is the simplest way to deal with this problem but the drawback is that users clicking the external link will leave your website and this might increase your bounce rate, decrease time on site etc.
Nevertheless, since the majority of traffic is now coming from mobile devices, you shouldn’t worry too much about users exiting your website since the behavior of the ‘new tab’ on mobile makes it difficult for users to come back to the previous window.
There are plugins that prevent WordPress from adding the rel=”noreferrer” to external links but they only work when using the TinyMCE and NOT the new editor (Gutenberg).
My recommendation is not to mess with this, just avoid opening external links in a new tab and you are good to go.
Noreferrer and Affiliate links
Noreferrer has no impact on affiliate links. The reason is that the majority of affiliate programs do not rely on ‘referral traffic’ to award a conversion but on the affiliate ID which is included in the link. For example:
<a href="//www.semrush.com/sem/?ref=15096612" rel="noreferrer noopener" target="_blank">
So, you have nothing to worry about.
The Difference Between Nofollow and Noreferrer
When you add rel=”nofollow” to an external link, you basically instruct search engines not to pass any PageRank from one page to the other. In other words, you tell them to ignore that link for SEO purposes.
The difference between nofollow and noreferrer is that noreferrer does not pass any referral information to the browser but the link is followed. With nofollow, referral information is passed to the browser but the link is not followed.
So, they are not the same things. Use nofollow on links that you don’t trust and use noreferrer if you don’t want the other site to know that you have linked to them.
What is rel=”noopener”?
rel=”noopener” is an HTML attribute that can be added to external links. It prevents the opening page to gain any kind of access of the original page.
Here is an example of a link with the rel=”noopener” tag:
<a href="https://www.example.com" rel="noopener">Link to Example.com</a>
This is added automatically by WordPress on all external links that open in a new tab for security reasons and it is recommended that you keep it.
If you are not on WordPress, it is recommended to add the rel=”noopener” to all your external links that open in a new tab.
Rel=”noopener” and SEO
Noopener has zero impact on your SEO so you can safely use it to enhance the security of your website.
Dealing with HTML tags and attributes is confusing for many people but that shouldn’t be the case with noreferrer and noopener.
None of them can negatively impact your SEO, use them without fear.
If you are on WordPress, these tags are added automatically on external links that open in a new tab.
The noopener is needed to enhance the security of your website and prevent other websites from gaining access to your page (through the browser session).
The noreferrer is used to protect referral information from being passed to the target website and this also hides referral traffic in Google analytics.
If you want other websites to see traffic from your website as ‘Referral traffic’, then simply do not open external links in a new tab. This will prevent WordPress from automatically adding the attributes to the links and everything is good.
Nofollow is not the same as noreferrer. When the rel=”nofollow” is added to a link, it instructs search engines not to use that link for SEO purposes. Noreferrer does pass link juice from one website to the other.
If you are still confused about the role of rel=”noreferrer noopener”, let me know in the comments.