WordPress What is the noopener tag?

What is rel=”noopener” in WordPress? If you write a text and add a link that opens in a new window, then WordPress automatically adds noopener to your link. Below we will see what rel=”noopener” is that WordPress adds and how it affects the web you.

noopener is an HTML attribute added to all WordPress links that are selected to open in a new tab . It is also accompanied by rel=”noreferrer”.

These features have been added to WordPress to address a security gap that can exploit malicious JavaScript websites.wordpress

There is some JavaScript that allows a tab that opens to get certain . If you connect to a web page that contains malicious code, then that page, using the window.opener JavaScript property, can change the home page (of your website) to steal information and add malicious code.

Adding rel = ”noopener” prevents the new tab from taking advantage of this JavaScript feature. Similarly, the rel = ”noreferrer” attribute prevents the referral page information from being transferred to the new tab.

Affects Your SEO?

Although the rel=”noopener” attribute improves the of WordPress, many believe it affects SEO.

It's a myth.

Noopener does not seem to affect the WordPress site's SEO or the overall WordPress performance.

What is the difference between noopener and nofollow?

If you confuse rel = ”noopener” with rel = ”nofollow”, read below.
The noopener feature improves WordPress security by blocking information leakage.
On the other hand, the nofollow feature prevents your site from passing SEO link juice to the referral page. It basically "tells" the Google bot that indexes your page not to follow the link.

Search engines now reportedly "obey" the nofollow feature, but do not consider the noopener.

How to disable rel = ”noopener” in WordPress?

You do not need to disable the tag rel = ”noopener” from your page links. It is needed as extra security and has no effect on your page or SEO.

However, if you need to remove it, then you need to disable the WordPress Gutenberg Editor and use the old classic processor. After that, you will need to add the following code to the functions.php file of the theme you are using.

Removing the noopener is not recommended.

add_filter ('tiny_mce_before_init', 'iguru_disable_noopener'); function iguru_disable_noopener ($ mceInit) {$ mceInit ['allow_unsafe_link_target'] = true; return $ mceInit; }

____________________________

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.082 registrants.

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).