Skip to main content
All CollectionsDivi 5Options Groups
Understanding the Attribute Options in Divi 5
Understanding the Attribute Options in Divi 5

Learn how to use the Attributes options to control button link behavior, ensuring they align with your SEO and security strategies.

Updated today

The Attributes options let you define advanced link settings for buttons, such as their relationship to the destination page. These settings are particularly useful for managing SEO, security, and navigation.

Divi 5 - Attributes Option Group

Where to Find the Attributes Options

  1. Open the Module Settings: Click the gear icon or the module itself to access the settings.

  2. Navigate to the Advanced Tab: Locate the Attributes option group.

Attributes Option Overview

  1. Button Relationship: Define the relationship between the linking page (source) and the linked page (destination). Common values include:

    • bookmark: Indicates that the linked URL is a bookmark or anchor point within the current website. Use this for in-page navigation or linking to specific sections of a site.

    • external: Specifies that the linked page is external to your site. This is helpful for identifying outbound links for analytics or tracking purposes.

    • nofollow: Tells search engines not to follow the link, often used for sponsored or non-endorsed links.

    • noreferrer: Ensures no referrer information is passed to the linked page.

    • noopener: Prevents the new page from accessing the window.opener property, improving security.

Tips for Using Button Attributes

  • Improve SEO: Use nofollow for links that shouldn’t pass link equity to the destination.

  • Enhance Security: Apply noopener and noreferrer to external links to safeguard against potential security risks.

  • Use Purposefully: Only apply attributes when necessary to avoid overcomplicating link relationships.

Did this answer your question?