nofollow noopener noreferrer for External Links
-
Hi, great plugin! I was using this plugin with external links to off site products and using Google’s Lighthouse speedtests. I noticed Lighthouse warning flags for having target=”_blank” with the external links but not the rel=”noopener noreferrer” tags to prevent XSS (cross-site scripting) attacks.
You could please consider the following in future updates in wc-external-product-new-tab.php?
1. Change rel=”nofollow” on lines 180 and 215 to rel=”nofollow noopener noreferrer”
2. If needed, you could also add conditional logic depending if the product links went off site or stayed on site.Thanks! Great plugin!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘nofollow noopener noreferrer for External Links’ is closed to new replies.