Index: nodewords_basic/nodewords_basic.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/nodewords/nodewords_basic/nodewords_basic.module,v retrieving revision 1.1.2.44 diff -u -p -r1.1.2.44 nodewords_basic.module --- nodewords_basic.module 30 Nov 2009 13:10:24 -0000 1.1.2.44 +++ nodewords_basic.module 3 Dec 2009 16:55:07 -0000 @@ -225,7 +225,7 @@ function nodewords_basic_canonical_prepa } if ($path) { - $content['value'] = drupal_get_path_alias($path); + $content['value'] = $path; } } elseif (!empty($content['value']) && strpos($content['value'], '/') === 0) { @@ -238,7 +238,7 @@ function nodewords_basic_canonical_prepa 'base_url' => $base_url, ); - $tags['canonical'] = !empty($content['value']) ? check_url(url($content['value'], $options)) : ''; + $tags['canonical'] = !empty($content['value']) ? check_url(url(drupal_get_path_alias($content['value']), $options)) : ''; } function nodewords_basic_canonical_form_validate($element, &$form_state) {