Link Rel Attributes
1 min read
Add rel attributes to links on your site. Rel attributes define the relationship between your pages and the links you add to them.
Rel attributes are an advanced topic, and assigning the incorrect attribute can cause issues with your site and links. We recommend that only technical users choose a rel attribute for their links.
There are 4 types of attributes you can add to links on your site:
Attribute Name | Explanation |
---|---|
noopener | This prevents the page / site you have linked from gaining access to (or information about) the page you've linked it from. We recommend using this in most cases, as it protects your site's security. |
noreferrer | This prevents the page / external site you are linking to from gaining access to information about your site and its pages. |
nofollow | The tells search engines to ignore the link, as it is not related to your site. Search engines will not crawl the link. |
sponsored | This lets search engines know that the link is an ad or placement, and that you've been paid to add it to your site. We recommend using this attribute for all paid ads or placement links on your site, as it makes it less likely that your SEO ranking will be penalized for attempting to manipulate result rankings. |
Did this help?
|