Last post Jul 28, 2016 02:04 PM by bbcompent1
Jul 28, 2016 11:17 AM|jeffcarter|LINK
We are working on two sites and the internet team is saying, the domain names "www.domain.com/AB" & "www.domain.com/XY"
"XY" & "AB" are case sensitive. Is it true that domain name with /sub directory are case sensitive? I thought domain names are not case sensitive?
Jul 28, 2016 12:39 PM|bbcompent1|LINK
Hi Jeff, according to DNS Rules, domain names are not case sensitive:
https://technet.microsoft.com/en-us/library/cc958812.aspx unless they are doing some crazy reverse proxy stuff that has to match case sensitive names.
Jul 28, 2016 12:42 PM|jeffcarter|LINK
Thanks bbcompent1, but my question is specifically for what comes after domain name .com/AB or .com/XY ? The internet team is saying "AB" and "XY" will be case sensitive. These sites are for 2 different locations and after "slash /" the letters define the
My next question is (if it is case sensitive) then redirect rules can be applied to make sure if anyone type in small or caps, it is redirected to same consistent one?
Jul 28, 2016 12:50 PM|bbcompent1|LINK
Only if the server is configured to support that, they may doing some reverse proxy or routing stuff on the server. So if they are applying case sensitive routing, /XY would be different than /xy, however my concern there is most people type in stuff lower
case, thereby ending up at the wrong page or a 404.
Jul 28, 2016 12:55 PM|jeffcarter|LINK
Yes, I have asked the internet team to make the /ab & /xy "lowercase" as majority of the people will be typing small and add a redirect url for people who "may" type in CAPS.
So, 2 questions:
1) Is it true that after "/" can be case sensitive (like sub directory)? If yes, what cases - can you please explain in details so that I can communicate with the internet team accordingly?
If this is not true and URL cannot be case sensitive then I will go back to internet team and argue this point.
2) Is it possible to add redirect rule for CAPS so that they are redirected to small letter url?
Jul 28, 2016 02:04 PM|bbcompent1|LINK
Certain rewrite rules can enforce case sensitivity. This can be the case with an Apache web server; I know asp.net can be ran on Apache with the right add-ons. Here is a written post on Stack Overflow that explains how to resolve this case sensitivity problem
with Re-Writing URLS: