Redirect to $base_path instead of to <front>?

silurius - May 5, 2009 - 19:16
Project:Path redirect
Version:6.x-1.0-beta3
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Is it possible to hide node/1 when redirecting to <front>? I have several paths that redirect to my front page and it's actually confusing to many users here, who not only ask what "node/1" means but are also bookmarking and updating their site links with that string, which I do not want.

This module has been a huge help for me and I realize like anything, it has external dependencies. Can that behavior can be overridden somehow or can an additional option be set for whatever is defined as $base_path instead?

#1

jordan8037310 - August 17, 2009 - 06:02

silurius,

I want to point out that this issue has been solved with the use of the Global Redirect module (http://drupal.org/project/globalredirect).

It automatically removes all of Drupal natural canonical links and repoints them to the original links that are either generated using pathauto, or set with path. Either way, no more issues with there being a difference between ?q=node/1 or node/1 or /home or /home/, technically, they would all redirect to /home.

I hope this makes sense and fixes your issue!

Best,

Jordan

#2

Dave Reid - October 27, 2009 - 14:31
Status:active» fixed

#3

System Message - November 10, 2009 - 14:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.