Add rel=”nofollow” To WordPress Comment Reply Links

WordPress allows users to post comments. When a comment is made, a “reply to” comment link is created. This allows individuals to reply to comments by following a direct link to that comment.

The Problem with Comment Reply Links

The problem is a SEO problem. The link will include a unique comment ID. So, when the link is followed, it will go directly to the comment, bypassing the post entirely. So, not only do new visitors miss the post, it allows search engines to follow the link and since the comment link is unique, the search engine will index the comment link. It creates duplicate links to the same post.

In order to solve this problem, you can add a rel=”nofollow” to all your comment reply links. This will tell the search engines not to follow this link.

The Solution to the Problem

Add the following code snippet to your theme’s functions.php file to add a rel=”nofollow” attribute to your comment reply links.

function add_nofollow_to_reply_link( $link ) { return str_replace( '")'>', '")' rel='nofollow'>', $link ); } add_filter( 'comment_reply_link', 'add_nofollow_to_reply_link' );

Being Yahoo! Directory Listed

Importance: Low

Type: Trust

The Yahoo! Directory has been cataloging sites for a long period of time, and many believe that because of that, being listed can rank you higher.

Importance: High

Type: User Experience

Schema are used by major search engines like Bing, Google, Yahoo! and Yandex to improve the display of search results, so that their user has an easier time finding the right Web pages.

Schemas are classified as types and under each type there are properties. A full listof schemas can be found at

If you are a WordPress user, you might be interested in the Gensis Framework by StudioPress, which comes with schema and is SEO optimized.

User Generated Content Links

Importance: High

Type: Relevancy and Quality

Search engines are able to recognize links that have been generated through software.

An example of this is the hosted version of WordPress,, where they list the latest updated blogs on their network, through software, compared to links manually inserted in those blogs.

Keyword As First Word in Domain

Importance: Unknown

Type: Relevancy

Once important but not anymore; having the focus keyword of the website, in whole, as the first keyword in your domain name may increase your rankings, as it provides a relevancy factor.

Keyword Appears in Top Level Domain

Importance: Low

Type: Relevancy

Once important but not anymore; having the focus keyword of the website, in whole, in your domain name, may increase your search engine rankings, as it provides a relevancy factor.