Are there reasons not to use multiple .
in website file names (images, css files, js files...) like in logo.french.png
?
This is very easy to answer: Yes, dots are allowed everywhere in Linux filenames.
Don't start or end your filename with a space, period, hyphen, or underline. Keep your filenames to a reasonable length and be sure they are under 31 characters. Most operating systems are case sensitive; always use lowercase. Avoid using spaces and underscores; use a hyphen instead.
A dot is used as the separator between base-filename and extension. "." & ".." are reserved to represent the current & parent directory. On *nix systems a dot at the start of a filename makes it a hidden file. what works on one system may not on the other.
Too bad that answers cannot be so short: No.
Update:
Mmh ok let me think (you wanted that!):
Update 2:
There might be some special configurations of your web server (like Apache's content negotiation) that also uses several periods in the filename to distinguish content. But that should not interfere with naming your files this way.
No.
The only reason I can think of to not use multiple .
's in a filename is that a very poorly written file-extension checker might get confused.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With