Hi,

As more and more people are moving sites over to Drupal there is a growing need for Drupal to cope with many different forms of URLs. Our old site URLs looked like this www.mysite.com/page1/ as you can see the URLs ends in trailing slash. We have now fixed this issue and I am told that the global redirect module has been modified to provide the option to keep or remove the trailing slash. We now want to mod_rewrite to force the traing slash.

the htaccess code we are usíng is:

# Force Trailing Slash for directories
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$
RewriteCond %{REQUEST_URI} !^/(admin|user|node|edit)
RewriteRule (.*)$ http://www.site.com/$1/ [R=301,L]

By using this mod_rewrite we are no longer able to upload images.

No fault of Lightbox2 which is excellent but this is really somthing I would really apprechiate some asstance.

Thanks,

dutchie

Comments

stella’s picture

Status: Active » Closed (won't fix)

Lightbox2 doesn't provide the ability to upload images, so this isn't an issue with the Lightbox2 module. You should open a support request against the upload module or whichever module you are uploading images with.

Cheers,
Stella

dutchie76’s picture

Sorry Stella you are right doh! Thanks for the great module :)