Is it of any advantage, in addition to using Global Redirect, to rewrite html links from /node/nid
to /article/this-is-the-title
, even though in both cases traffic is directed to /article/this-is-the-title
(by Global Redirect).
Edit:
From this answer I gather that I should use Global Redirect so that aliases wouldn't cause "duplicate" content.
The same answer suggests a way to intercept links, passing them through functions to "convert from node/nid to article/title". However, I am green at coding Drupal, and have no clue as to go about it. Could some one advise on alternatives? Or ways of making this less cumbersome?
I am also adding this link to a related answer on avoiding disadvantages of 'same content/multiple URLs' for whoever's reference.
<yoursite_url>/node/1
, pathauto will create an alias using thetitle
of the content type. If the page title isfoo bar
then the alias will most probably be<yoursite_url>/content/foo-bar
. Note that the page will also be accessible via<yoursite_url>/node/1
. Nodes will have alias but the redirection to that alias is not handled by Pathauto. – AjitS Jan 31 '13 at 12:04