Some posts on suefoster.info may contain affiliate links. Please see my Disclosure Policy for further information.
There are plugins that add the
I noticed my plugin wasn’t working with the new Gutenberg update, so I thought I’d write a post on how to add a nofollow tag manually.
What Is Nofollow?
A nofollow tag tells search engines not to follow that link. You can read all about nofollow and dofollow links in a post I have written here.
How To Add The Nofollow Tag To A Link
Switch to the HTML/Text editor and find your link. A
<a href=”https://suefoster.info/”>Sue Foster</a>
To change it to nofollow, add the rel=”nofollow” tag as below:
<a href=”https://suefoster.info/” rel=”nofollow”>Sue Foster</a>
When Your Link Is Set To Open In A New Window
When you set links to open in a new window, the link is bit different and you will see it already has rel=”
<a href=”https://suefoster.info/” target=”_blank” rel=”noopener”>Sue Foster</a>
Because it already has rel inserted, you don’t need to add another or delete this one, you can simply add nofollow straight into the rel tag like below:
<a href=”https://suefoster.info/” target=”_blank” rel=”nofollow noopener”>Sue Foster</a>
You will find when looking at links that open in a new window using the Gutenberg editor, it inserts a
<a href=”https://suefoster.info/” target=”_blank” rel=” noreferrer noopener”>Sue Foster</a>
I delete the noreferrer tag after having read the following advice on The Blog Fixer.
If you’re using Amazon affiliate links, Amazon needs to know where the link originated from. This noreferrer tag prevents the destination site from knowing where the link came from, so your site won’t be getting all the credit it deserves for referral traffic in Google Analytics.
Do you need help with WordPress blogging? Come and join our support group.
WordPress for Beginners 2019. Master WordPress using our step-by-step visual approach (over 330 screenshots). This book is a major new release for 2019, covering the latest version of WordPress.
HTML and CSS: Design and Build Websites. A full-colour introduction to the basics of HTML and CSS .