20 Sep 2017 
Support Center » Knowledgebase » HTML Help » I uploaded an Index.htm file but it doesn't show up as the index. What's wrong?
 I uploaded an Index.htm file but it doesn't show up as the index. What's wrong?
Solution
The problem here is one of cAsE sEnSiTiViTy. UNIX/Linux use of UPPER/lower case and will recognize Index.htm and index.htm as referring to two distinctly different files.

If the Index.htm file is renamed to index.htm using all lower case and is uploaded to the public_html directory it will automatically be displayed as the site's index page. As far as all other documents while you can use upper and lower case at your descretion you MUST make sure that you the file names referenced in your image tags and hyperlinks match the names of the files you have uploaded (including upper/lower case) at all times.

Just to simplify matters the best course of action is often to just use all lower case characters exclusively both in your HTML and when naming and uploading your files (and avoid long file names with spaces as well) however the key is consistancy...if you name a file MyFile.htm you must make sure to call it MyFile.htm in your A HREF tag (likewize for image tags) as MyFile.htm, myfile.htm, myfile.HTM etc will all be considered to be separate files and a call to one will not retrieve another.

It is best to keep all your file naming to lower case. Also best is to not use spaces in naming your files. If you want to use a multi_word_file_naming.gif use underscores to tie the words together.


Article Details
Article ID: 134
Created On: 02 Sep 2008 10:53 AM

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options

Home |  Sign Up |  Products & Services |  Online Support |  Submit Ticket

Copyright © 1999-2008 by Internet Planners LLC. Read our Terms and Conditions. All rights reserved.