|
If you managed to create and upload a single page without too many problems, you will probably
want to start building bigger and better pages.
There are a few things to consider when creating additional pages though.
Default page
First of all, each of your directories (folders) should have a file named index.htm or
index.html in it. This is the default page that will be shown if the full URL isn't
given.
By that I mean that visitors do not have to type
http://io.spaceports.com/~wysardry/ftp/index.htm to get to my FTP section, just typing
http://io.spaceports.com/~wysardry/ftp/ will display it.
The Spaceports servers use a UNIX type operating system, which means that filenames are case
sensitive.
index.htm and Index.htm are not the same thing.
Other pages within a directory do not have to begin with index, but they do have to end in .htm
or .html
Other types of file will have different extensions (endings).
Filenaming conventions
To avoid confusion, and make typing the URL easier, it is safest to use lowercase characters
throughout.
Do not use spaces, or special characters when naming your files. You can use a _ or -
instead of a space if need be.
Do not use more than a single "dot" in your filenames.
mypage.htm is okay, but my.page.htm is not.
Wherever possible, limit the number of characters before the dot, period, full stop or whatever
you want to call it, to 8 characters or less. Also limit the number of characters after the
dot to 3 or less.
wysardry.htm is okay, but wysardrys.htm or wysardry.html might cause
problems for users of older systems if they save your pages or files to disk.
It's relatively safe to use longer filenames for pages as your visitors will still be able to
view them, but any files you offer as downloads should really keep to the older "8.3" naming
restriction.
Bear in mind that some people are still on a metered connection (they pay per minute) and may
save your longer pages to disk to read later.
|