How to add no-follow to a link (Web-Development)

There are times when you wish to add no-follow to a link. Say, you have uploaded a file to share site and you are putting that link on your site. After some time, the link becomes dead due to inactivity, and you are forwarding your visitors to a page which doesn’t exist anymore. There are SEO penalties for that too, and you should look to avoid these scenarios.

Adding nofollow to a link is basically telling search engines not to index that particular link. It stops that link from back-linking to the mentioned page.

Below are the steps

1. This is a normal link in html format with no attributes

<a href=”http://dkgadget.com”>DKgADGET.com</a>

2. To tell the search engines not to spider that link (http://dkgadget.com), we have to add “no-follow”  as,

<a rel=”nofollow” href=”http://dkgadget.com”>DKgADGET.com</a>

The output is DKgADGET.com

Some people add  rel=”nofollow” attribute after the link, but the correct way is to put it before the link.

You can copy the above html lines in a notepad and edit them manually be replacing the url and the output. Google asks to retain no more than 100 links on a page. You should use nofollow for links which has little SEO value for you such as rss feeds, contact us, about us and anything which you think is of less importance to you.

See this tutorial, if you want to see nofollow links that exist on a webpage. This tutorial works on every web-browser.

RELATED POSTS: 

  1. Top 5 Social Bookmarking Plugins for WordPress
  2. How to Disable Autosave while writing posts in WordPress?
  3. How to remove Admin Bar in WordPress v3.xx and above?
  4. Solution to Categories and Tags not showing in WordPress
Stay in touch with us on Facebook or Twitter or Google+ to keep yourself updated on stuff related to the world of Technology.


POST A COMMENT!

*