Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: ocean10000
prior to my arrival there was no standards in place for directory or file name development...
so on my CMS application, Teamsite, i have all kinds of mixed case file names, directories..etc...
what i am noticing in my G Webmaster Tools is that this is getting dinged as 2 separate pages:
it SHOULD be the Capitalized directory /Med/ but someone can type lower case and it resolves just as well.
is there an IIS setting that i shoudl request be put into place to keep URI's the case that they are?
can IIS be config'd to serve only lower case?
which im not sure i want to do, since half of my directories have upper case and mixed case type files...
not sure how to handle this.
BTW, worst implementation ever of a file system = linux. Lower case/Upper case = different version. oiy.
In IIS you can change the casing of any of the characters and the same content is served with status "200 OK". That is not desirable behaviour as it creates infinite Duplicate Content.
You should maybe aim for all lower-case in your URLs and 301 redirect all other variants. Look to fix www/non-www issues in the same redirect too.
For Version 2.0 (httpd.ini), these rules force lower case...
#Convert all UPPER CASE to lower case
RewriteCond URL ([^?]+[[:upper:]][^?]*).*
RewriteHeader X-LowerCase-URI: .* $1 [CL]
RewriteCond Host: (.+)
RewriteCond X-LowerCase-URI: (.+)
RewriteRule [^?]+(.*) http\://$1$2$3 [I,RP]
why do i need a third party tool? could i just not create a .txt file with the above mentioned rules and rename the file, and place it at the root of the website on the server?
again, this is not a hosting company, i have access to our web servers.
the rules of the httpd.ini file will affect all current upper case directories and files, as well as any new ones that may arrise right?