Add rel="nofollow" to primary links menu

brizzo - May 12, 2009 - 16:58

Hi

I've been trying to find a solution for 2 days, finally decided to ask for help. I am running drupal 5 with the aberdeen theme, which is great but for SEO purposes i'm trying to add rel="nofollow" to each link in the primary menu.

This may be really easy and i'm no php coder, html and css are my limit but I have been looking in the template.php and the common.inc files i'm sure the solution is tweaking something in one of these files.

I have tried the nofollow module which gave me the options but never worked, I did follow the instructions and added the code to the template.php file.

I also tried the nofollowlist module but it doesn't have the option to tweak the primary list. I see drupal 6 has the menu_attributes modules which would work if I wasn't using drupal 5 Pah!!!

Can anyone help or suggest a remedy, i'll put up the template code if it helps????

Cheers

Briz

=-=

VeryMisunderstood - May 12, 2009 - 17:04

http://drupal.org/project/nofollow may be worth investigating

nofollow module

brizzo - May 15, 2009 - 17:42

Hi very misunderstood

I have used this module it installed ok and i had to add some extra code to the template file but it has never worked!! Any other ideas??

cheers

=-=

VeryMisunderstood - May 15, 2009 - 17:49

none from me no. I've never had a need for no follow in primary links and as such haven't researched it beyond what I did for you.

 
 

Drupal is a registered trademark of Dries Buytaert.