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
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
For other links, use one or more of the following values:
Mark links that are advertisements or paid placements (commonly called paid links) as
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.
We recommend marking user-generated content (UGC) links, such as comments and forum posts, as
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.
You may specify multiple
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.