How to add “nofollow” tags on links in the editor

How do we add no follow links when an editor us using the editor tool? I can not find a plce to add this code?

I can see how to do it in the designer but not the editor?

Here is my site Read-Only: LINK
(how to share your site Read-Only link)

1 Like

Add #nofollow at the end of the link.

So your link should look like this:

Some text

Then add this script in:

("a").each(function() { var url = ((this).attr(‘href’))
(this).attr( "rel", "nofollow" ); }else{ (this).attr(‘rel’,‘dofollow’)

This script will search each link to see if it contains the “nofollow” text, and add it in as a rel=“nofollow” throughout the site. Otherwise if this #nofollow doesn’t exist it will add a rel=“dofollow”

  • Bob