Qualify your outbound links to Google

For certain links on your site, you might want to tell Google your relationship with the linked page. In order to do that, you should use one of the following rel attribute values in the <a> tag.

For regular links that you expect Google to follow without any qualifications, you don't need to add a rel attribute. Example: "My favorite horse is the <a href="https://en.wikipedia.org/wiki/Palomino">palomino</a>." For other links, use one of the following values:

rel Value Description
rel="sponsored"

Mark links that are advertisements or paid placements (commonly called paid links) as sponsored. More information on Google's stance on paid links.

NOTE: The nofollow attribute was previously recommended for these types of links and is still an acceptable way to flag them, though sponsored is preferred. 

rel="ugc"

We recommend marking user-generated content (UGC) links, such as comments and forum posts, as ugc.

If you want to recognize and reward trustworthy contributors, you might remove this attribute from links posted by members or users who have consistently made high-quality contributions over time. Read more about avoiding comment spam.

rel="nofollow" Use the nofollow value when other values don't apply, and you'd rather Google not associate your site with, or crawl the linked page from, your site. (For links within your own site, use robots.txt, as described below.)

Links marked with these rel attributes will generally not be followed. Remember that the linked pages may be found through other means, such as sitemaps or links from other sites, and thus they may still be crawled. These rel attributes are used only in <a> tags (because Google can follow only links pointed to by an <a> tag), except nofollow, which is also available as robots meta tag.

If you need to prevent Google from following a link to a page on your own site, use the robots.txt Disallow rule.

To prevent Google from indexing a page, allow crawling and use the noindex robots rule.

Was this helpful?
How can we improve it?