We’ll go over what rel=”noopener” in WordPress is and how it affects your website in this article. One of our readers recently inquired about rel=”noopener” in WordPress. When you choose to open a link in a new window, WordPress automatically adds this attribute to the link.
In WordPress, what does rel=”noopener” mean?
This feature was added to WordPress to address a security flaw that malicious websites could take advantage of. It also has a rel=”noreferrer” attribute attached to it. The HTML attribute rel=”noopener” is applied to all WordPress links that are set to open in a new browser tab.
When you add a link and choose “Open in New Tab,” WordPress adds the rel=”noopener” and rel=”noreferrer” attributes to the link code. WordPress is always one step ahead of the game when it comes to website security.
This is the HTML code that WordPress generates:
What effect does rel=”noopener” have on your WordPress SEO?
Despite the fact that the rel=”noopener” attribute improves WordPress security, some users are hesitant to use it because they believe it will negatively affect their WordPress SEO.
That is merely a myth.
It has no effect on the SEO rankings of your WordPress site or the overall performance of WordPress.
Is there a difference between noopener and nofollow?
They are two distinct entities. It’s simple to mix rel=”noopener” and rel=”nofollow.”
The noopener attribute improves WordPress security and protects your website from cross-site hacking.
The nofollow attribute, on the other hand, prevents your website from passing SEO link juice to the linked website.
When following a link on your website, search engines look for and consider the nofollow attribute. They do not, however, take into account the noopener tag.
See our article on how to add title and nofollow to links in WordPress for more information. You’ll need to use a plugin to add nofollow to your WordPress site. WordPress does not allow you to add nofollow to external links by default.
Does the rel=”noreferrer” attribute have an impact on affiliate links in WordPress?
Affiliate links in WordPress are unaffected by the rel=”noreferrer” attribute. According to some users, this is because rel=”noreferrer” prevents the referrer information from being passed to the new tab.
Most affiliate programs, on the other hand, provide you with a unique URL that contains your affiliate ID. This means that the other website will track your affiliate ID as a URL parameter.
Second, most affiliate marketers cloak their affiliate links with a link cloaking plugin.
When you use link cloaking, the affiliate link your users click is actually your website’s own URL, which redirects them to the destination URL.
In WordPress, how do I disable rel=”noopener”?
It improves the security of your website while having no effect on its performance or SEO. There’s no reason to remove rel=”noopener” from your website’s links.
If you need to remove it, disable the Gutenberg block editor in WordPress and use the old classic editor instead. The following code must then be added to your theme’s functions.php file or a site-specific plugin.
Removing rel=”noopener” is not recommended. There isn’t any compelling reason to do so.
You might also be interested in our WordPress guide on how to track outbound links. We hope you found this article on rel=”noopener” in WordPress useful.
Please subscribe to our YouTube Channel for WordPress video tutorials if you enjoyed this article. You can also find us on social media sites such as Twitter and Facebook.
How to Transfer Your Blog from WordPress.com to WordPress.org Correctly
How to Fix the WordPress Error Establishing a Database Connection
Step-by-Step Instructions for Starting Your Own Podcast
Beginner’s Guide to Installing Google Analytics in WordPress
Editorial Staff Information
Over 1.3 million readers around the world rely on it. WPBeginner’s Editorial Staff is a group of WordPress experts led by Syed Balkhi.
The WordPress Classic editor also has the noopener option.
True, we cover the block editor because it is WordPress’ default editor.
Is that acceptable if I interlink with “noopener & Noreferrer”?
You shouldn’t normally add that to internal links, but you can if you want to.
Is it possible to provide a dofollow backlink to an external website with rel=”noopener no referrer”?
I mean, if we get this attribute, are we getting dofollow or nofollow backlinks?
Please accept my sincere gratitude.
These attributes have no bearing on whether a link is dofollow or nofollow; the latter is determined by the link’s status.
Is it permissible to use rel=”noopener noreferrer nofollow” anywhere?
nofollow noopener noreferrer rel=”nofollow noopener noreferrer” rel=”noreferrer nofollow noopener” rel=”noreferrer nofollow noopener” rel=”norefer
You shouldn’t have to be concerned about the order.
Thank you for your contribution.
When I checked my website on web.dev, I couldn’t figure out what noopener and noreferrer meant.
My best practice score increased from 80 to 86 after I added it to all of the links with target=”_blank”.
Thank you very much.
We’re glad our guide could be of assistance; however, keep in mind that sites with high scores are primarily recommendations.
What about WordPress’s customized templates? Internal linking, in particular? Is it necessary to use rel=”noopener” in the links in the custom posts templates?
You won’t have to worry about noopener in the links to your posts and custom post types’ templates.
Does this have an impact on Analytics? Is it possible to say yes or no?
Google Analytics will not be able to track the site from which the link originated if noreferrer is used.
Is it possible to use noopener while removing noreferrer? Why is noreferrer included with noopener if it is the most important tag? Not only am I unable to see referral traffic, but I am also unable to determine which posts have performed well over time, as referral traffic is now displayed as direct traffic to my home page. There must be a way out of this. It’s driving me insane that my analytics are being messed up.
We do not have a built-in method to set that up, unless I hear otherwise, but there are plugins available if you want to remove that from your links.
WPbeginner Support, Hye, O/
I don’t use a plugin to cloak my affiliate links on my website; instead, I use the html editor to manually add rel=”nofollow” to affiliate links.
My question is, is this a good SEO practice? Is it necessary for me to cloak it?
Please accept my sincere gratitude in advance for your response.
It allows you to better manage links, track affiliate traffic, and make your URLs appear more human- and machine-friendly. Cloaking URLs is a good idea.
Your assistance is greatly appreciated. Although my WordPress site has an SSL certificate (provided by the hosting company), why does the secure lock icon not appear in the URL? Although it opens in https, it indicates that the connection is not secure.
Please see our guide to resolving common SSL issues in WordPress for more information.
Hello, I have an affiliate website and my earnings have decreased since wordpress added noopener.
But I wasn’t sure if it could be the cause of this.
So noopener has no impact on affiliate links?
Normally, I remove it.
Thank you. And it won’t have an impact on SEO or internal links?
It has no effect on your affiliate links and has no SEO implications.