How can I add the rel=nofollow attribute to external links in rich text fields in the Webflow CMS?

Published on
September 22, 2023

To add the rel=nofollow attribute to external links in rich text fields in the Webflow CMS, you can follow these steps:

  1. Open your project in the Webflow Editor.
  2. Go to the Collection where you want to add the rel=nofollow attribute to the links.
  3. Click on the Collection's Settings (gear icon) in the left sidebar.
  4. Under Collection settings, select the field that contains the rich text elements.
  5. In the Field's settings panel, click on the "Enable rich text" toggle to make sure it's enabled.
  6. Select the rich text element where you want to add the rel=nofollow attribute.
  7. In the Rich text settings panel on the right, click on the "Link settings" tab.
  8. Toggle on the "Enable classes" setting.
  9. Now, select the link you want to add the rel=nofollow attribute to within the rich text element.
  10. In the Link settings panel, add a class to the link by clicking on the "+" icon next to the "Add class" field.
  11. Give the class a name, e.g., "nofollow-link".
  12. After adding the class, click on the "Custom attributes" tab.
  13. Click on the "Add attribute" button.
  14. In the name field, enter rel.
  15. In the value field, enter nofollow.
  16. Click on the "Add attribute" button again to save the attribute.
  17. Click outside the Link settings panel to close it.
  18. Save and publish your project to make the changes live.

By following these steps, you can add the rel=nofollow attribute to external links in rich text fields in the Webflow CMS. This attribute tells search engines not to follow or pass link juice to the linked page, which may be useful for affiliate links, sponsored content, or any other external links that you want search engines to treat differently.

Additional Questions:

  1. How do I enable rich text fields in the Webflow CMS?
  2. Can I add custom attributes to links in Webflow?
  3. What are the benefits of using the rel=nofollow attribute for external links in SEO?