Does it matter if filenames are uppercase or lowercase?

Yes it does. We use Unix systems, which employ a case-sensitive filesystem. It is entirely possible to have one file called index.html, another called Index.html, and another called INDEX.HTML. Of these, only index.html will be recognized and examined by the system.

This occasionally comes as quite a shock, particularly to Windows users who are used to ignoring filename case.

To avoid confusion and promote consistency, it is recommended that all files be uploaded using only all-lowercase filenames unless there is a specific reason to do otherwise. By adhering to this convention, you never have to wonder or remember whether (or how) you used uppercase letters in your filenames.

Many uploading utilities on systems that ignore case distinctions offer the ability to automatically convert filenames to lowercase. Using this option is highly recommended, but it is also necessary to make sure references to external files, such as images linked in an HTML file, also use the correct case.

  • 2 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?

Artículos Relacionados

What is the difference between Domain Registration, DNS Service, and a web site?

This is a source of much confusion to people new to setting up websites as well as to many...

Should I make my own backups of my web site?

Yes. You should adopt a backup policy that assumes we are storing crates of sweaty dynamite on...

I uploaded a new page, but my browser still shows the old one. What should I do?

This is caused by the mechanism we use to efficiently distribute your content within our...

Is adding an alias to my site or creating DNS for a domain the same as registering it?

No. Domain registration is an entirely separate and required step if you want to use a domain...

After I set up, how long does it take for things to start working?

Many of the changes you make have immediate effect. The ones that don't tend to involve DNS or...