Link module does not add rel=nofollow to links

px - November 7, 2009 - 18:07
Project:Link
Version:6.x-2.8
Component:Code
Category:bug report
Priority:normal
Assigned:jcfiala
Status:closed
Description

Hi,
I just noticed, that the link module does not add the rel=nofollow module on my website. This causes a problem with affiliate links, where Google's webmaster quality guidelines state to add that attribute to paid links.

I checked the database using:
select field_MYTYPE_MYFIELD_url, field_MYTYPE_MYFIELD_attributes from content_type_MYTYPE;

and the result was "N;" or "a:3:{s:6:"target";s:7:"default";s:5:"class";s:0:"";s:3:"rel";s:0:"";}" for all entries. Seems like the settings do not make it into the database, not even when saving the node again after checking the target=_blank option.

#1

jcfiala - November 8, 2009 - 18:11
Assigned to:Anonymous» jcfiala

Hmm... I'll get on this as well.

#2

jcfiala - November 9, 2009 - 01:53
Status:active» fixed

As I suspected, the problem was much the same as in #625552: Additional CSS Class ommited on output, and was fixed with the same patch. Have a look-see at the new dev release when it's dated Nov-09 and try that out. You probably will need to edit any nodes you created with the previous version.

#3

System Message - November 23, 2009 - 02:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.