Forum Moderators: phranque

Message Too Old, No Replies

How to show all page names in lower case?

like the www/non-www issue this is causing dup problems

         

oddsod

4:39 pm on Jul 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



On one of my sites Google is seeing Products.htm as different to products.htm. I have thousands of incoming links to each version. How do I tell Google that these aren't two different pages?

oddsod

7:42 pm on Jul 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



*bump*

Anyango

10:57 pm on Jul 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Both Pages show Different Content?

oddsod

8:45 am on Jul 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No, there aren't two pages, there's just one. But a site search in Google shows they have the page listed twice - once with lower case "p" and once with the capital "P". Some people link to it as "products.htm" and some link to it as "Products.htm". When the page was created (in FP) someone orginally - mistakenly - used the capital "P" for the page name.

Span

9:45 am on Jul 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



But, if the real page is called "products.htm" shouldn't going to "Products.htm" result in a 404 Not Found?

oddsod

4:01 pm on Jul 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ah, should it? If you type in Products.htm it calls up the page and "P" stays in the address bar, if you type products.htm the "p" stays and it calls up the same page. If one needs to show a 404 - how do I do this? If I type WWW.WEBMASTERWORLD.COM it doesn't show a 404 but redirects to www.webmasterworld.com.

How do I get such a resolving to lower case on all pages? (Windows server/IIS)

2by4

7:40 pm on Jul 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The joys of windows. Domain names are case insensitive, file and folder names, on unix, are case sensitive. Since most of the web runs on unix type systems, I assume google treats file and folder names as case sensitive, which is what you're seeing.

Go through your site and make sure your links and file names are all lowercase, then if you can, install the isapi or whatever IIS uses for doing the rewrite, then create a rewrite rule that changes any upper case letter to lower case.

oddsod

10:05 pm on Jul 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



2by4, thanks. So I'm still left with the problem of how to do this on a Windows server. What do I ask the host to set? Does anyone know... or should I post this in question in forum47 [webmasterworld.com]?

2by4

10:18 pm on Jul 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



As far as I know, which isn't very far when it comes to IIS, you have to have root access to your server to add isapi modules, the thing IIS uses to do rewrite, which isn't usually available I believe on standard hosting accounts, you need admin privileges that is, which you won't have if you are using a shared server. If you aren't using asp or any other MS stuff you could just move it to Apache, then you could do it with .htaccess, very easy thing to do.