How does this module behave when two alias exist for the same node?

javierreartes - May 27, 2009 - 22:45
Project:Global Redirect
Version:5.x-1.5
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:by design
Description

Hi, I installed Pathauto for a client website that runs with Drupal 5.
I'm currently using it for user profiles in order to create urls like this profile/john-smith the problem that I'm having is that if an user changes his name I end up having two alias, which is correct because we don't want to lose external references to current urls, but of course we don't want to end with multiple urls for the same content. A redirect to the most recent alias will be the ideal solution.

I think that this module will help us, but I'm not sure how it will behave in the case that two alias exists for the same node, will it redirect to the most recent created alias or will it redirect randomly to any alias for that node?

Thanks in advance,
Javier

#1

nicholasThompson - May 29, 2009 - 09:57
Status:active» by design

Global Redirect will probably resolve to the first created alias (depends how Drupal itself resolves the alias from the source path).

My advice to you here is to look into the fantastic Path Redirect module. This neatly integrates with Path Auto and can create redirects for new aliases automatically.

Nick

#2

javierreartes - June 3, 2009 - 21:31

Thanks nick, I'll check that module

Javier

#3

ndame - August 12, 2009 - 15:03

Wonderful. That answers my question too. Thanks guys!!

 
 

Drupal is a registered trademark of Dries Buytaert.