-
☆ A M B ☆
- 1,056 Posts
Quote from: netnoise at Oct 17, 2006, 12:52 PM
That ’feature’ would be a totally wrong way of handling URLs and so should be called a bug. 
EDIT: You could do it by redirecting the CamelCaseUrl to a camecaseurl, but please don’t simply strtolower url-paths.
Keep in mind that if you have duplicate aliases turned Off, that ’Tutorials’ and ’tutorials’ should
technically be treated as separate, should they be defined...
-
☆ A M B ☆
- 711 Posts
Thats great everyone, thanks for your help.
I have changed all my document aliases to lower case and added CL to the end of my rewrite rule and it works perfect
-
☆ A M B ☆
- 1,056 Posts
Quote from: awardle at Oct 17, 2006, 03:46 PM
I have changed all my document aliases to lower case and added CL to the end of my rewrite rule and it works perfect
Anyone else interested in force-lowercasing their defined alias’?
Try hitting the db directly:
update modx_site_content set alias = LCase( alias )
God I must be bored
-
☆ A M B ☆
- 1,056 Posts
Quote from: OpenGeek at Oct 17, 2006, 10:40 AM
Just add the NC option to the rewrite rule and it will treat them all as lowercase.
Hmm.. NC doesn’t seem to work for me :/ ..my aliases work great, but are still case-sensitive
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC]
Apache/1.3.34 (Unix)
PHP 4.4.1
MODx version 0.9.5 beta 5
Version codename rev 1714