Is it necessary for some sites (& for me when going to them) to
put a / at the end of their address? Life is hard enough!
I’m going to expand on your question a little, because it actually
opens up a small can of worms … a small, but confusing can of
worms.
You see, the answer is “yes”, “no”, “sometimes” and “usually
not”.
There’s an amazing lack of consistency.
]]>
<
If *.html and *.htm are the same what about graphic files labelled as *.jpg and *.jpeg? I have graphic files with both these extensions.
29-May-2009
.JPG and .JPEG should be the same. Just in the old “DOS” days people had to use a 8.3 filename system, people could not use more then 3 letters after the period. Also I believe that why there is .html and .htm.
On many sites, if you typed .htm and the file has .html, the server will give you the correct page back (or vice versa)- unless there was both a .htm and a .html with the same name of course!
I know that my server certainly does (For tech heads out there, it’s Apache 1.3 – and it uses a server code of 301 (Moved Permanently) to implement the change automatically as far as the end-user is concerned)
As Leo says, it’s all in how the site’s server has been configured.
I look after several websites, some of which were written over 5 years ago. The older pages have the “.html” extension, and the newer pages that I have created (using Expression Web 2 and Dreamweaver) have the “.htm” extension.