Home
Sign Up
Products & Services
Online Support
Submit Ticket
25 May 2013
Support Center
»
Knowledgebase
»
FTP and uploading
»
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
User Comments
Add a Comment
Sharing is good. If you have a comment about this entry, please feel free to share. The comments might be reviewed by our staff, and may require approval before being posted. Questions posted will not be answered. Please submit a Ticket for support requests.
Image Verification Required
Please enter the characters that appear to the right in the space provided. This is just to verify that you are a human.
Full Name:
E-mail Address: (Optional)
Comment:
Back
Login
[Lost Password]
Email:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Troubleshooter
Article Options
Add Comment
Print Article
PDF Version
Email Article
Add to Favorites
Home
|
Sign Up
|
Products & Services
|
Online Support
|
Submit Ticket
Copyright © 1999-2008 by Internet Planners LLC. Read our
Terms and Conditions
. All rights reserved.