FROM CACHE - en_header

How to remove rel-"noopener noreferrer" from a link

New Member
2 0 0

I'm not familiar with the Shopify platform just trying to help someone out.


The rich text editor was used to create a link to another site. Shopify automatically adds rel-"noopener noreferrer" to the link. I then open the HTML editor, manually remove rel-"noopener noreferrer", but when I save Shopify reinserts that into the link.


How do I create a link on a page within a Shopify site that doesn't have that rel tag included?


Thanks for your help!

Replies 3 (3)
Shopify Partner
1873 184 886

If your links happen to target a new window i.e. _blank, then I am afraid you won't be able to remove the noopener and noreferrer. Those are being added to avoid a potential security flaw colloquially known as "tabnabbing" wherein the target page (tab), can for a brief moment take control of the originator page (tab) using exploitive JS.


You can read more on OWASP's Reverse Tabnabbing article.


p.s. Yes, I know it messes with your referral tracking etc. but if you want to avoid it: don't use _blank.


Hope this helps!

Liked this post? You might also like our fantastic upsell apps Candy Rack, Last Upsell post-purchase and Candy Cart or offer free gifts with Gift Box. All made with ❤️  and care by Digismoothie
New Member
2 0 0
That's more help than Shopify support has been. They have repeatedly told
me Shopify doesn't do that.
4 0 0

Do these tags have an impact on SEO follow/nofollow links? 

Dont Panic, It's Organic!