Gutenberg: Add nofollow option for links

Created on 28 Jan 2019  路  12Comments  路  Source: WordPress/gutenberg

On behalf of the hundreds of thousands, if not millions, of people who make money with their website with affiliate programs and sponsored content:

Please, please, pretty please, make it easy for us to add the nofollow rel attribute to a link.

I honestly don't know why it isn't a part of WordPress core. Every WordPress commercial I see lately is about having your business on WordPress, yet WP is making it difficult for business owners to be compliant with Google's guidelines on paid/affiliate links. We shouldn't have to add yet another plugin to handle something so basic and widely used.

Just have a checkbox or similar (like open to new window) to add the nofollow rel attribute for a link.

Thank you for your consideration.

[Package] Format library [Type] Enhancement

Most helpful comment

FYI - Google just announced 2 additional nofollow attributes: sponsored and ugc

https://webmasters.googleblog.com/2019/09/evolving-nofollow-new-ways-to-identify.html

All 12 comments

Related PR Link settings extensibility#13190

I also would like to request this feature. It is ok for me to add the attribute in html-view but for my clients this is a no-go.

I also vote for this feature. I'm perfectly capable of editing HTML, but it is a time sink that can easily be resolved -- just add a little toggle switch just like the "open in new window" toggle.

Echoing the above. This is a basic feature that should be quite simple to add, and site owners shouldn't have to rely on plugins that will eventually break. This is a feature that should be baked into Wordpress Core.

And while you're at it, give the ability to also add rel attributes to button block links as well! Please!!

FYI - Google just announced 2 additional nofollow attributes: sponsored and ugc

https://webmasters.googleblog.com/2019/09/evolving-nofollow-new-ways-to-identify.html

Google's announcement makes even more reason imho why Gutenberg should persue https://github.com/WordPress/gutenberg/issues/11599 as it would allow for this type of thing (more options for links) to be added easily by plugins (if for example, Google wanted to write a plugin to test new types of nofollow attribute values prior to releasing their specs publicly)

Agree with this, especially since Google's latest announcement. I have many clients who are looking for an easier way to mark a link as nofollow/sponsored for affiliate or paid for content. Not having this as part of the editor doesn't make sense to me.

@reneedobbs I've just added nofollow and sponsored "rel" attributes option to EditorsKit plugin ( https://wordpress.org/plugins/block-options/ ). I hope this will be really helpful 馃憤

Screen Capture on 2019-09-16 at 12-42-40

The core needs an option to put nofollow into the link code like it does target=blank. I don't understand why it didn't happen years ago. As much as I like the Editor's Kit plugin and use it, it's a workaround which will break if the plugin should break or be removed by a user who doesn't understand its purpose. This is such a simple thing for Wordpress to do that their not doing it has to be interpreted as a rejection of the idea. Why? Do they dislike affiliate marketing? Do they not want business people using Wordpress to run sites that sell products?

Honestly core developers must understand that are dozens of issues relating to nofollow and the lack of extends one of the more important things on internet. Also I don't understand why some options are available for certain elements and are excluded for others. Here's my related issue: https://github.com/WordPress/gutenberg/issues/17293

An easy solution? add a setting where users can choice if they want to enable the nofollow options. And please track the usage and report back how many millions will enable that feature.

This is a must have!!!

Perhaps something like this will help:
https://github.com/WordPress/gutenberg/issues/23011

Using WordPress 5.4.1, it looks like the editor even removes rel="sponsored" when editing a link via the editor. Support for nofollow, sponsored and ugc would be great!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wpalchemist picture wpalchemist  路  3Comments

davidsword picture davidsword  路  3Comments

mhenrylucero picture mhenrylucero  路  3Comments

pfefferle picture pfefferle  路  3Comments

cr101 picture cr101  路  3Comments