Memberstack
Pricing
API
Login
Build for free
Memberstack
Pricing
API
Login
Build for free
Memberstack
Pricing
API
Login
Build for free
Blog/How to Automatically Make all External Links Noreferrer

How to Automatically Make all External Links Noreferrer

This post will teach you how to automatically make all external links noreferrer in your Webflow site, why it matters for security, and how to implement it with a simple code snippet.

Ovidiu·Contributor
|
February 27, 2025·2 min read

How to automatically make all external links noreferrer

Other use-cases using Memberscript #122

· How to automatically make all external links open in a new tab

· How to automatically make all external links noreferrer

Memberscripts needed

https://www.memberstack.com/scripts/external-links-new-tab

Tutorial

Cloneable:

__wf_reserved_inherit

Why/Use Cases

- Used to avoid letting destination sites know where visitors came from.

Adding a noreferrer attribute to all external links on a Webflow site

This guide will show you how to easily add a noreferrer attribute to all external links on your website.

To add a noreferrer attribute to all external links on your Webflow site, we’re going to use MemberScript #122 – Open External Links in New Tab. Follow the link to get the code you’ll need to add to your page (or entire site) and watch a video tutorial on how to set everything up.

All that’s needed to make external links noreferrer is to add our custom code to your site (before the closing body tag). All external links on your site will now automatically have a noreferrer attribute.

Our code also makes all external links nofollow and open in new tabs. To remove any of these, simply comment out the specific line of code or just delete it.

Adding exceptions

If you want to make an exception for an external link, just add the following attribute to it:

· ms-code-ext-link=”ignore”

Conclusion

That’s all you need to do to make your external links noreferrer, you can now test the external links on your site.

If you want to use our demo project to get you started, just click the button below to add it to your Webflow site.

Our demo can help you automatically make all external links nofollow on your Webflow site.

Take me to Cloneable!‍

Written by

Ovidiu

Contributor

Contents

  • Other use-cases using Memberscript #122
  • Memberscripts needed
  • Tutorial
  • Cloneable:
  • Why/Use Cases
  • Adding a noreferrer attribute to all external links on a Webflow site
  • Adding exceptions
  • Conclusion
  • Take me to Cloneable!‍

Share

Explore Memberstack

  • All Features
  • Customer Showcase
  • Templates
  • Find Experts
  • Pricing
  • Help Center

Product

  • Full Feature List
  • User Accounts
  • Gated Content
  • Secure Payments
  • API & Integrations
  • Data Tables
  • Memberstack & Webflow
  • Memberstack & Claude Code
  • Memberstack & WordPress
  • Create a new account
  • 2.0 Log in
  • 1.0 Log in
  • Pricing

Learn about Memberstack

  • Showcase
  • Testimonials
  • Why Memberstack
  • Memberstack vs Outseta
  • Memberstack vs Memberspace
  • Memberstack vs Webflow Memberships

Company

  • About
  • Careers
  • Changelog
  • Partnerships(email)
  • Contact Us(email)
  • X
  • LinkedIn
  • "Do Not Sell My Data" Promise

Resources

  • Vibe Coding
  • Templates
  • Components
  • MemberScripts
  • Data Attributes
  • Find Experts
  • Hiring Guide
  • Webflow Slack Community
  • WordPress Slack Community
  • Support Forum
  • Help Center
  • Blog
  • llms.txt (for AI)
  • llms-full.txt (for AI)
AICPA
SOC

SOC 2 TYPE 1

CERTIFIED

GDPR

COMPLIANT

CCPA

COMPLIANT

Privacy PolicyTerms of ServiceCookie PolicySecurity Policy

© Memberstack Inc. 2018 - 2025. All rights reserved.

Memberstack - The no-code membership platform for any website | Product Hunt