Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m not seeing the match scores either. I don’t have any caching plugins running and I’m definitely logged in as an admin because I can see other admin-related options on my pages.

    How to add the rel=”nofollow” attribute to your tags.

    You’ll need to edit your category-template.php file. This is usually found here:

    \wp-includes\category-template.php

    Edit line 416 of the file so it reads:
    $rel = ( is_object($wp_rewrite) && $wp_rewrite->using_permalinks() ) ? ' rel="nofollow"' : '';

    Edit line 528 of the file so it reads:
    $term_links[] = '<a href="' . $link . '" rel="nofollow">' . $term->name . '</a>';

    Now all your tags have the rel=”nofollow” attribute.

    Why would you need to do this? Without nofollow, Google will pagerank your tag pages, regardless of what’s in your robots.txt or sitemap.xml file, and thus they’ll appear in Google search results (usually with a higher page rank than your actual blog posts).

    Disallowing paths/files in robots.txt will prevent Google from indexing them, but it won’t prevent them from accruing page rank if Google has indexed pages that link to them.

    Adding a rel=”nofollow” to a link won’t prevent the page from being indexed, but it will prevent it from accruing page rank.

Viewing 3 replies - 1 through 3 (of 3 total)