Skip to main content Skip to footer

How to boost SEO with link rel attributes

The `rel` attribute for <a> tags defines the relationship between the current document and the linked resource. It has various applications depending on the value set.

With uSkinned Site Builder for Umbraco, we've made it super easy to add values without the need to write code or install plugins. You can handle it all yourself via the CMS when adding any link.

Here's an explanation of common 'rel' attribute values for anchor tags and their benefits:

  • 'noopener': This value is used to prevent the new window or tab opened by the link from accessing the `window.opener` property, providing added security by minimising the risk of phishing attacks or malicious scripts.
  • 'noreferrer': This attribute stops the browser from sending referrer information to the linked resource, improving privacy and security.
  • 'nofollow': This instructs search engines not to "follow" the link for ranking purposes. It's useful for reducing the impact of external links on a website's SEO, preventing spam, or avoiding linking to unreliable sources.
  • 'external': Indicates that the linked resource is external to the current site, potentially aiding in styling or accessibility.
  • 'noopener noreferrer': This combined attribute offers both security and privacy by preventing the new page from accessing the original one and suppressing referrer information.

Benefits of the `rel` attribute for `<a>` tags include:

  • Enhanced Security: By restricting access between windows or tabs, it reduces the likelihood of exploitation by malicious actors.
  • Improved Privacy: Ensures that sensitive referrer information isn't shared with external sites.
  • SEO Management: Helps manage how search engines interpret links, reducing the risk of unintended SEO consequences.
  • Control Over External Links: Allows for the specification that a link is external, providing flexibility for styling or other contextual applications. 

Overall, the `rel` attribute is a crucial tool for managing relationships between documents and ensuring security, privacy, and SEO best practices.

Add 'rel' values to the Main Navigation

In this example, we'll add a link to the Main Navigation.

Step 1

Login to the CMS.

Step 2

Go to Global.

Step 3

Go to Navigation. 

Step 4

in the Main Navigation tab, add a link.

Step 5

At the label "rel", click to open the options. 

Edit rel attribute values with uSkinned for Umbraco.

Step 6

In the slide-out panel, you can use the checkboxes to choose which to apply, you can even use the free text field to enter additional ones.

When you're happy hit submit to confirm your choices — don't worry, you can edit these at any time.

Choose and add rel attribute values to uSkinned.

Step 7

Save and publish your Navigation to render the results on your uSkinned Site Builder website.

#h5yr

Step 1

Sign up

Start a free trial of Site Builder.

Step 2

Design

Tailor the look and feel with the Visual Designer to suit your brand.

Step 3

Create

Add content with built-in eCommerce and third-party integrations.

Step 4

Host

World-class and secure hosting backed by Microsoft Azure.