Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1433

Administration Joomla! 5.x • uppercase letters in url causing issues

$
0
0
Since migrating to J4, we had issues if there were uppercase letters in a URL. So if someone bookmarked a URL with uppercase letters (which worked fine in J3) it would generate an error when trying to link to it. I recently updated to J5 and now even images with uppercase letters are broken paths. I had resolved the issue in J4 with the following code in my htaccess file:
##### Custom Rules (Top of File) -- BEGIN
RewriteCond expr "tolower(%{REQUEST_URI})=~/(.*)/"
RewriteRule [A-Z] %1 [R=301,L]
<IfModule mod_headers.c>
<FilesMatch "\.(js|css|swf)$">
RewriteRule ^(.*)$ $1 [NS,E=no-gzip:1,E=dont-vary:1]
</FilesMatch>
</IfModule>
##### Custom Rules (Top of File) -- END

But it doesn't seem to be working in J5.
Has anyone else had this problem? Is there a solution?

Statistics: Posted by aimlesslady — Fri Jun 07, 2024 12:02 am



Viewing all articles
Browse latest Browse all 1433

Trending Articles