The current glossary implementation is inherently connected with taxonomy. If there are nodes (>=1) under a specific taxonomy item, the glossary module rightly displays the standard taxonomy page, under a different URL (glossary/term/$term->tid, instead of the standard taxonomy/term/$term->tid).
Solution is simple.
Correcting the URL to the standard form (taxonomy/term/...) fixes the problem of duplicate SE content and solves pathauto compatibilty problems.
Here is the patch, tested on my sites.
Dear drupalees -I don't know how to use CVS. Please add the code to CVS.
In line 116 of glossary.module, replace the old code:
if ($term->nodes > 0) {
$linkto = "glossary/term/$term->tid";
$hash = NULL;
}
With the new code:
if ($term->nodes > 0) {
$linkto = "taxonomy/term/$term->tid";
$hash = NULL;
}
To repeat: This has not only solved the problem, but was also solved compatibility problems with the PathAuto module. Since the URLs are standard, they are easily substituted by their friendly synonyms by the pathauto module.
Enjoy,
Amnon
-
Personal: Bring Dolphin's Simple Joy to your Work - Job - Career
Professional: Small Business Web Hosting Strategies, עסקים ברשת - מדריך ליזם
Comments
Comment #1
druvision commentedComment #2
moshe weitzman commentedi will soon be showing the title and description of a term here instead of the duplicate page
Comment #3
(not verified) commented