What is stored in field url of relatedlinks table is not drupal path but path relative to server root.
If the web site is under a directory, for example http://mysite.com/dir, all url in relatedlinks table will start by /dir, what is not a part of the drupal path and they will be broken if the site's directory changes.
In function _relatedlinks_filter, url are generated by : $urls[] = ''. check_plain($link['title']) .'';
Don't the l() function of drupal should be used ?

Comments

Zen’s picture

Status: Active » Closed (duplicate)