Scriptbloggers

Blogging about scripts

How to use “nofollow” on the links and what’s the point?

For sure it’s not something I want to do at least sometime soon but I see people searching it so I thought why not give them a walk-through guide on using “nofollow” on the links.

As most people know, Links or Hyperlinks are no longer only the way to transfer PEOPLE (VISITORS) from a webpage to another, but it has been used also to show a trust factor from your site or page to another (usually external) site/page in the eyes of search engine crawlers.

In the other word, linking from your site to another, shows a relation and kind of truest between yours and the other site and in some cases adds a value to the destination. BUT beside their constructive usages, links can also have negative effect on your site if you link to an inappropriate, totally non-related, not-acceptable, illegal or spammy website. The same negative effect will happen if you place so many external links on a page with not enough content and the page loses its rank and trust and might even be considered as a linkfarm and get penalized to the end of search results.

The concept of nofollow first was introduced when spammers turned their attention and SEO strategies on well ranked weblogs by leaving spammy comments containing their links with hopes to gain better ranks in search engines, while they actually could destroy all the hard work the blog owner have done to make a trusted highly ranked weblog because of the negative effect we’ve mentioned before.

To deal with this problem there was a new value/attribute added to traditional “<a href ” way of linking.

In this method links containing ‘rel=”nofollow”‘ would not carry any (or at least much) weight and not being considered as a relation between the site and the destination in the eyes of most search engines while it still does the same thing for your visitors.

so:

<a href=”http://www.Articlesale.com”>Article Sale</a>

can carry some weight while the following link doesn’t or even if it does it’s minimum ;

<a rel=”nofollow” href=”http://www.Articlesale.com”>Article Sale</a>

How to make it automated in WordPress blogs to put nofollow on the links ?

Regarding the links within the comments, it’s already built-in in the new versions of WordPress to put nofollow on them BUT if your concern is about the commenter link, it should be taken care of by the template you use.

Most of the template use nofollow on the commenter link but some of them don’t! like the one I am using on Scriptbloggers :)

To add nofollow, you need to have some knowledge about WordPress templates since not all of them are the same but USUALLY the code you need to change is in comments.php:

Somewhere in that file you’ll find something similar to:

<a href=”<?php comment_author_url() ?>”><?php comment_author() ?> <?php comment_author_url() ?></a>

Well, all you need to do is to add rel=”nofollow” between “<a” and “href” . (DON’T COPY PASTE FROM HERE, IT MIGHT NOT WORK SO TYPE IT BY YOUR OWN PLEASE.)

I hope you’ve found it useful :)

As usual, please don’t hesitate to leave me a comment.

Cheers,

Soroush

No comments

No comments yet. Be the first.

Leave a reply