how can i force URLs to be case sensitive
.htaccess, apache, url
Solution
Nope, domains and subdomains are always lowercase. The DNS system is always case insensitive.
https://www.rfc-editor.org/rfc/rfc4343
Problem
Say I have the domain mydomain.com, and what I want to do is force the browser to show MyDomain.com in the URL bar. I have the following htaccess: ``` # force all to MyDomain.com RewriteCond %{HTTP_HOST} !^www.MyDomain RewriteRule (.*) http://www.MyDomain.com/$1 [R=301,L] ``` But it doesn't work. Are there any tricks/hacks that can be done to make the browser show a URL that isn't all lowercase? Or is this just not possible to do?