|
Do you mean for cars-ford to be a folder or a file? The file extetion is there to tell you what sort of file that is. So you can tell you jpg for you html files. If you don't put an extention on, then you could end up rather confuse as to what is which.
There is no reason why you have to stick with the default extention. Indeed it would be good for security reasons to not use jsp php or asp since that tells any potential hacker what sort of system he is hacking. If you use a custom extention then it may be harder for him to work out what you are using and so makes your site harder to hack.
There are some other reasons why you would use the url format of /entry/cars-ford rather than /entry/cars-ford.html. They take advantage of how the server converst a call for /entry/cars-ford into /entry/cars-ford/index.html. The advantage is that if you just name folders and not files, you can rename your files at any time in the future without having to change you links everywhere.
That may not be so important for you. But it's a good trick for external links. When you link to someone elses site, leave off the file name. That way if the other person changes their site at some point, it won't break you links cause you link to example.com/cars will work wither the other person has the file example.com/cars/index.php or example.com/cars/index.html
|