title: .htaccess rewrite rule Case inSensitive/ Ignore case in urls
body: <p>I want to rewrite my URL for URL incase sensivity i.e. to convert url tolowercase</p>
  
  <blockquote>
    <p>(<strong>eg. www.MywebsIte.Com/Abc should be redirected to
    www.mywebsitename.com/abc</strong>)</p>
  </blockquote>
  
  <p>I have found may suggestion but all keep on giving me server 500 error refer code below:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
    RewriteCond %{HTTPS} off 
    RewriteCond %{HTTPS_HOST} !^www.mywebsitename.com$ [NC]
    RewriteRule ^(.*)$ https://www.mywebsitename.com/$1 [L,R=301]
  
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>The above code works perfectly fine.
  Need to add code/rule for URL case insensitive.</p>