Path redirect activation only for aged content

nirvanajyothi - July 3, 2009 - 16:04
Project:Path redirect
Version:6.x-1.0-beta3
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

As of now when we use Path redirect along with Pathauto and choose 'Create a new alias. Redirect from old alias' under Update action it affects all title changes (assuming those titles are included in the alias). This may not be desirable in all use cases.

Example: A user creates a page with title 'what is up' and immediately edits the node title, changing the title to 'wassup' and saves the page again. As we have chosen 'Create a new alias. Redirect from old alias' the first alias will be automatically added to the redirect aliases list and .../what-is-up will from now on redirect to .../wassup.

Assuming that the redirect option is a part of good SEO practices the creation of redirect as mentioned above may not be necessary. So, can we have an option to create redirect only for nodes older than 3 days/ 1 week/ 2 weeks...depending on how frequently the site is crawled?

Have placed this request at Pathauto queue as well. http://drupal.org/node/507354

-thank you

#1

Dave Reid - October 27, 2009 - 14:27
Status:active» won't fix

I don't understand why you wouldn't want this to happen and why you say it's not necessary. Say you have ping.module or some similar module enabled that performs an action when the node is first created (and therefore using the 'incorrect' URL). Then 15 seconds later when the user edits the node, the path has already changed. What if trackbacks were sent out with the 'incorrect' URL?

#2

nirvanajyothi - October 30, 2009 - 15:43

Ok.
In our website we publish user contributions after moderation. And this may involve tweaks to the node title which results in change in URL of that node as well. As of now the old URL will be redirected to the newer one by Path Redirect module. And this, though not harmful leads to unnecessary database entries (unless the redirect is manually deleted). And if the user edits and saves the node title many times, more entries accumulate. I am trying to avoid that, if possible.

-Thank you

 
 

Drupal is a registered trademark of Dries Buytaert.