Naming

  • What's in a filename?
    • If no filename specified in URL, server sends default file.
    • Default file names are set in server, and are generally either index.xxx, where xxx is the file type (.html)
    • Thus, http://www.mysite.com actually returns http://www.mysite.com/index.html
    • So, name your 'home' page index.html
    • The rest of the pages can have various file names...
    • What's NOT in a filename
      • Certain characters are restricted
      • ; / # ? & = : @ have special meanings
      • For example, %20 = space
    • Don't use spaces or characters in filenames other than letters, numbers, _ and -, and you will be safe