Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In my development environment, this module works as expected; however in my Staging and Production environments, it does not work.
The Drupal root installation in Staging & Production are in:
https://www.mysite.com/subfolder
Does anyone know how to solve this problem?
Thanks
Comments
Comment #1
jaydee1818 CreditAttribution: jaydee1818 commentedComment #2
jaydee1818 CreditAttribution: jaydee1818 commentedComment #3
jaydee1818 CreditAttribution: jaydee1818 commentedComment #4
David Sparks CreditAttribution: David Sparks commentedThis is the culprit, line 303 of globalredirect.module (in 7.x-1.5):
This is there for compatibility with some other contributed modules, apparently - but it prevents Global Redirect from running when the installation's in a sub-folder.
See https://www.drupal.org/node/304025
There's a patch you can apply in that thread - but the right way to do this would be to create your own custom version of this module, to avoid any problems when updating modules.
Comment #5
klausiDuplicate of #304025: not working when drupal is installed in a subdirectory.