• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
iGuRu

iGuRu

Real-time Technology News. Opinions & Tweaks

  • / news
  • / infosec
  • / tools
  • / tweaks
  • / dummies
  • / opinions
  • / support
home / News / WordPress What is the noopener tag?

WordPress What is the noopener tag?

12/12/2018 13:12 by giorgos

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

Noopener is an HTML attribute that is added to all WordPress links selected to open in a new browser 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 - WordPress What is the noopener tag?

There are some JavaScript that allow a tab that opens to get some information. If you log in to a website that contains malicious code, then this page, using the window.opener property of your JavaScript, can change your homepage (your site) 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” feature improves the security of WordPress, many believe that 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;
}

____________________________

  • WorPress Get to know the history of the most popular CMS
  • All about Usenet: Worth to use? Is it legal?
  • Blog and Website or Website: What's the Difference?
WordPress What is the noopener tag? was last modified: 12 December, 2018, 1: 12 mm by giorgos

Subscribe to our newsletter

no spam

spread the news

  • Facebook
  • Twitter
  • Reddit
  • Printing
  • Email

Read them Technology News from all over the world, with the validity of iGuRu.gr

Follow us on Google News


Competition: NewsDay: blog, CMS, I'm sure, return, SEO

You May Also Like

Wprecon: Discover Vulnerabilities in WordPress CMS
Do you have anything to post? Send it to Your Post
iGuRu about hosting and site changes

About Us giorgos

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

Previous Post: « A new trojan on Android steals your money through the official implementation of PayPal
Next Post: Windows 10 Build 18290 download the official ISO »

Reader Interactions

Comment Policy:

IGuRu.gr does not publish the comments immediately. Malicious comments, comments that include ads, or comments that are offensive are deleted without notice. We do not adopt the opinions expressed by our readers.
Your comments will be displayed after approval by the administrators


Leave your comment
Ακύρωση απάντησης

Your email address is not published. Τα υποχρεωτικά πεδία σημειώνονται με *

 

 © 2021 · iGuRu.gr · ☢ · Keep It Simple Stupid Genesis theme

about  ·   get in touch  ·  rss  ·  sitemap  ·  cough

loadingCancel
Could not post post - check your email address!
Email verification failed, please try again
Your blog can not post posts via email.