We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23491 ☆ 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. grin

    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...
      Mike Reid - www.pixelchutes.com
      MODx Ambassador / Contributor
      [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
      ________________________________
      Where every pixel matters.
      • 21255
      • 215 Posts
      BTW: The current Dup-Alias check is broken. It’s case insensitive. wink

      @Jared awardle: Simply adding ’CL’ to your rewrite flags should do the job on IIS.

      Edit: I had mixed up whose question it was wink
        • 37550 ☆ 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 smiley

          http://www.onesmarthost.co.uk
          UK MODX Hosting with love.
          • 23491 ☆ 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 smiley


          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 wink
            Mike Reid - www.pixelchutes.com
            MODx Ambassador / Contributor
            [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
            ________________________________
            Where every pixel matters.
            • 23491 ☆ 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
              Mike Reid - www.pixelchutes.com
              MODx Ambassador / Contributor
              [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
              ________________________________
              Where every pixel matters.