Be-aware of rel=”nofollow” for links

Be-aware of rel=”nofollow” for links

Setting the value of the “rel” attribute of a link to “nofollow” will tell Google that certain links on your site shouldn’t be followed or pass your page’s reputation to the pages linked to.
This help in the prevention of comment spam.
No-following a link is adding rel=”nofollow” inside the link’s anchor tag.

When would this be useful?
If you site has a blog with public commenting turned on, links within those comments could pass your reputation to pages that you may not be comfortable vouching for.
Blog comment areas are highly susceptible to comment spam.

Nofollowing these user, ensures that you’re not giving you page’s hard-earned reputation to a spammy site. In other words, it prevents your site from getting listed in the spammy site list.

<a href=”” rel=”nofollow>example</a>


Suppose now you want a whole page that contains links, should not be indexed… then what to do????

Keep on adding rel=”nofollow” manually to each and every link??

Answer is no!!! HTML has a wonderful tag called meta tag, which will help you in this job, just add the same rel=”nofolow” attribute in the meta tag, and the job is done, the page will not be followed. See the code bellow which will help you in using the meta tag.




<title>Example Atricle</title>

<meta name=”description” content=”This will be used for the description of your article which indeed help you in optimization of your article”/>

<meta name=”robots” content=”nofollow”/>



The above highlighted and underlined line of code is what will tell Google crawler no to index that particular page. Just place the same line of code under you HEAD tag of the page, and your job is done.


You can even prevent your site from comment spamming, just do the same job of adding rel=”nofollow” attribute in the links posted in the comment manually or use the pre-designed software to do the specific task

JavaScript, ASP.Net & PHP Web Developer. Connect with me on Facebook and Twitter.

Share This Post

Related Articles

Powered by Paras Babbar · Designed by Paras Babbar