The nofollow attribute is an anchor attribute that tells search engines and other web robots not to follow a hyperlink on a web page. For example, user comments in an online forum typically may add the nofollow attribute to an user-submitted link. Doing so prevents posted links from being used to artificially inflate the page rank of external sites.
How to create a link with a nofollow
<a href="https://www.google.com/" rel="nofollow">
Where should I add the nofollow attribute?
Any link you do not want to give additional page rank, is not related to your website, has been user generated, or is part of a script that creates similar content should have the nofollow attribute. Below is a list of the most common places the nofollow attribute is used on websites.
- Comments (e.g., the comments on a WordPress blog).
- Bulletin board or Forums
- Guest posts
- Scripts that generate similar content with links
Tip: If the hyperlink is pointing to a different website that is related to the web page content it is a good idea to not include the nofollow attribute. Some believe that they should include a nofollow link on all links that points to a different website. However, Google and other search engines reward websites that have quality related links.