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.
Hi
I don't think this works when drupal is installed in a sub-directory. I have 3 sites at drupal5 - two installed at top level and one in sub-directory. This module works great on the 2 top level installations (thanks!) but on the sub-directory it produces URLs that are missing the sub-directory.
Should be www.mysite.com/drupal5/path and it produces www.mysite.com/path
Thanks
debs
Comments
Comment #1
mradcliffeHmm, I'm pulling $base_url as the base directory of a drupal installation defined in sites/default/settings.php. It looks like this is different in drupal 5.x than it was in 4.x. I'll take a look.
Comment #2
mradcliffeI patched both the 5.x and 4.7 dev versions, and they should be available in the next snapshot release.
I shouldn't need the $baseurl variable at all.
Please tell me how things fair.
Comment #3
debsjenkins CreditAttribution: debsjenkins commentedgreat, thanks - it also fixed another bug we found which was that external URLs all had the base URL attached too - thanks for the quick fix!
Debs
Comment #4
(not verified) CreditAttribution: commented