anyone know how to add no follow to categories in wordpress?

Status
Not open for further replies.

gdubs12345

New member
Oct 2, 2006
1,712
9
0
Im trying to get my internal link structure straightened out. And im trying to add no follow to my categories in wordpress. Anyone know how to do this?

Here's the code to display the catergories and i dont see an href so i dont know where to put rel="nofollow"

<li id="categories"><h4><?php _e('Categories:'); ?></h4>
<ul>
<?php wp_list_cats(); ?>
</ul>
</li>

any help would be nice thanks
 


Download the category-template.php file to your desktop. Open it up, search for "function wp_list_categories". Inside that function, look for both instances of
PHP:
<a href=
and squeeze in rel="nofollow" after the 'a'.
 
Status
Not open for further replies.