Naming
name folders and files completely in lowercase with no spaces. This is because:
- Many computers, particularly web servers, are case-sensitive.
- Browsers, web servers, and programming languages do not handle spaces consistently. It’s better to separate words with dashes, rather than underscores:
my-file.htmlvs.my_file.html.
The short answer is that you should use a hyphen for your file names. The Google search engine treats a hyphen as a word separator but does not regard an underscore that way. For these reasons, it is best to get into the habit of writing your folder and file names lowercase with no spaces and with words separated by dashes, at least until you know what you’re doing.