Closed (outdated)
Project:
Redirect
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Oct 2010 at 20:28 UTC
Updated:
20 May 2025 at 19:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dave reidComment #2
dave reidThis should probably alter the link rel='shortlink' output on node pages.
Comment #3
grendzy commentedNice. Is calling node_load in a redirect_url_inbound_alter() OK? I thought that was usually considered to be on the critical path... It seems like there's no harm in redirecting to a node ID that may not exist.
Comment #4
mlncn commentedBig Plus One for this feature, much better to do this in redirect than a custom module.
Regarding node_load, if it is a node page the node is cached, if it isn't i don't think the call matters much.
Note that something like:
would allow http://example.com/53/edit to work
Is Redirect module as a whole in a testable state? I haven't installed, it looked like key parts of the code are commented out.
Let me know if i can help.
benjamin, agaric
Comment #6
wiredescape commentedAny update on Shortlink URL redirect to canonical URL feature?
Comment #7
manoloka commentedAny chance to get this patch fixed?
Thanks
Comment #8
manoloka commentedHi there,
I´ve just done something pretty simple that redirects all my domain.com/1234 to domain.com/node/1234 (I use clean urls, global redirect and pathauto so that takes them to the proper url eg.domain.com/cat1/subcat2/whatever)
I'm no programmer so this may have consequences that I can not foresee ... so far so good, please advice.
I´ve added to my .htaccess this piece of code that I found somewhere on the net.
Comment #9
wylbur commentedClosing this as Outdated as Drupal 7 is EOL.