Closed (fixed)
Project:
Drigg
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2009 at 14:35 UTC
Updated:
21 Jul 2009 at 09:10 UTC
Hi guys. I'm curious to know if anyone else is experiencing the following behaviour.
I've got "fancy" URLs working for my scoops. In other words,
is actually
However, those "fancy" URLs result in an infinite redirect-loop when the Global Redirect module is enabled:
$ curl -I http://beta.mail2web.com/ideas/mail2web-Live/Using-pop3
HTTP/1.1 301 Moved Permanently
...
Location: http://beta.mail2web.com/ideas/mail2web-Live/Using-pop3
Is my setup strange, or can others confirm this behaviour?
Thanks,
Nick
SoftCom Inc.
http://softcom.com
Comments
Comment #1
nickhoffman commentedNote: I'm using the following settings in the Global Redirect module:
Deslash: On
Non-clean to Clean: On
Remove Trailing Zero Argument: Disabled
Menu Access Checking: Enabled
Case Sensitive URL Checking: Enabled
Comment #2
mercmobily commentedHi,
With Drigg, because of the way it's structured, I advise people to use settings.php's redirections.
Now... by the looks of it, you are experiencing problems as settings.php's redirection is going against Global Redirect.
But mine is only an assumption -- I might well be wrong!
Merc.
Comment #3
nickhoffman commentedHi Merc. I don't have any redirection settings in sites/default/settings.php . Could you give me an example of what you advise?
I'm trying to use the Global Redirect module so that URLs such as node/4 are automatically redirected to their alias, if one exists.
Thanks,
Nick
SoftCom, Inc.
http://softcom.com
Comment #4
mercmobily commentedHi,
All the information is in drigg-code.org -- please read the installation instructions carefully. It's all there...
In the documentation I explain very carefully why Drigg sites normally use settings.php to create aliases.
Merc.
Comment #5
nickhoffman commentedHey Merc. I got it all sorted out. The problem was caused by Drigg's custom_url_rewrite_outbound() and custom_url_rewrite_inbound() in settings.php .
While those two functions are useful, they break functionality with other common Drupal modules, such as Global Redirect, and URL Alter.
I've written a post that describes an alternative solution for URL aliasing, and why it's more desirable than putting rewrite functions in settings.php .
I hope you'll read the post and let me know what you think. Cheers,
Nick
SoftCom, Inc.
http://softcom.com
Comment #6
mercmobily commented