Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nofollow option for links #13542

Closed
Tracked by #35073
reneedobbs opened this issue Jan 28, 2019 · 18 comments
Closed
Tracked by #35073

Add nofollow option for links #13542

reneedobbs opened this issue Jan 28, 2019 · 18 comments
Labels
[Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) [Package] Format library /packages/format-library [Type] Enhancement A suggestion for improvement.

Comments

@reneedobbs
Copy link

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.

@Soean
Copy link
Member

Soean commented Jan 28, 2019

Related PR Link settings extensibility#13190

@abernitz
Copy link

abernitz commented Mar 3, 2019

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.

@mtias mtias added [Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable and removed [Feature] UI Components Impacts or related to the UI component system labels Jun 25, 2019
@ellatrix ellatrix added [Package] Format library /packages/format-library and removed [Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable labels Jun 27, 2019
@Chaddeus
Copy link

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.

@budgetsavvybride
Copy link

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!!

@reneedobbs
Copy link
Author

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

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

@chriscct7
Copy link
Member

chriscct7 commented Sep 10, 2019

Google's announcement makes even more reason imho why Gutenberg should persue #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)

@xomisse
Copy link

xomisse commented Sep 12, 2019

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.

@phpbits
Copy link
Contributor

phpbits commented Sep 16, 2019

@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

@devisan
Copy link

devisan commented Feb 11, 2020

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?

@Tropicalista
Copy link

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: #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!!!

@paaljoachim
Copy link
Contributor

Perhaps something like this will help:
#23011

@mackaaij
Copy link

mackaaij commented Jun 9, 2020

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!

@deborah86
Copy link

I also would like to see this feature.

@getdave getdave added the [Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) label Jun 15, 2023
@getdave
Copy link
Contributor

getdave commented Aug 14, 2023

Adding additional thoughts from #53566 (comment).

@skorasaurus
Copy link
Member

FYI:

This was implemented in #53945 and #54110 and is available in WordPress 6.5.

This isn't available for links in the navigation block
and you can follow progress for that in #54091

@Mamaduka
Copy link
Member

@skorasaurus, based on your latest reply, can we close this issue?

@skorasaurus
Copy link
Member

there is #54091 which is specifically for the navigation block; not sure ; I am ok either way since there's a related issue.

@Mamaduka
Copy link
Member

Let's close this one; the navigation issue can be handled separately.

@Mamaduka Mamaduka closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) [Package] Format library /packages/format-library [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.