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.
Where to Find the Attributes Options
Open the Module Settings: Click the gear icon or the module itself to access the settings.
Navigate to the Advanced Tab: Locate the Attributes option group.
Attributes Option Overview
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.