|
Pat's
Web Page Tutorials |
Naming Web Pages |
|
|||||||||||
|
CREATING WEB PAGES: Basic HTML Basic TAGS Basic TABLES HTML Editors About LINKS Name ANCHORS NAMING WebPages SCANNING Photos YourGenealogyWebsite HTML or XHTML? COPYRIGHT&PRIVACY ISSUES: Copyright FAQ Privacy for the Living Email Encryption UPLOADING: FTP Drag&Drop File Manager FUN THINGS TO ADD: Add a Counter Add a Guestbook Family Group Sheet Forms (MailMerge) MORE HELP: Freepages Help&FAQs Change the Counter's Appearance Betsy Mills: REALLY Basic Help Pat Geary: Website Design for the Genealogist Marcia Hellam: Website Building With No Hard Drive Cliff Lamere: The Basics of RootsWeb Counters Robin Moore: Web Editing & Genealogy Toolbox Rod Neep: WebPage Design Cheri Zuber: Genealogy Computer Tips |
Every web page has three different names. WOW! No wonder it's confusing. But it's important that you understand the difference between these names. Each name has a specific purpose. Names 2 and 3 can affect the way your web site functions, and how search engines index your site so other researchers can find it. Name 1: The title that appears on your pageThis is the one your visitors will probably see first, and can be anything you like:
My Kissin' Kuzzins
This "name" is like the title of a book and is used to catch your visitor's attention. It doesn't even have to be text. You might use a title graphic instead. So while this name is important to the appearance of your page, it does not affect the way your site functions, on the server or on the web. Name 2: The name between the <TITLE> tags:
This is the name that appears in the title bar of the browser window. If
you look at that title bar now, it should say
HTML-- the Basics: Naming Files.
This is not quite the same as the name that appears at the top of the
page; but they don't have to be the same. In fact, they can be totally
different. The
Name 3: The File NameThis is the name you give the file when you save it for the first time. Like any computer file, it must include the name of the file, and a file extension to indicate the format in which the file has been saved. The file extension tells the computer what program(s) will open the file. Web page files use the extensions HTM or HTML. There are some special do's and don'ts for naming web files. Do not use spaces or special characters in file names. Valid file names may include letters, numbers, and the characters dot ( . ) dash ( - ) and underscore ( _ ). The dot/period is reserved for use between the file name and the file extension (only one per file). All other special characters such as # " & % , etc., are reserved for the HTML code itself. Using them in a web file name will usually result in an HTTP 404 - File Not Found.
Do keep the file names short. While file names can be longer than 8 letters (the limit in DOS), extremely long file names can cause problems for some servers. Use subdirectories to sort and identify your files so the names themselves can be kept relatively short (no more than 12 to 15 characters). Upper and Lower Case MattersEach URL must be unique so one particular file can be located out of the billions of pages on the Web. Web servers are case sensitive.
are all different files on the web. Remembering this basic rule is the key
to making your links work. Many people find it easier to always
name web files in lower case. Then you don't have to stop and think about
whether your link should be written to
At Home at FreePages
Your entry page at FreePages should be named
http://freepages.genealogy.rootsweb.com/~pasher/
It also prevents your visitors from seeing a complete listing of the contents of your directory. If you do not have a file named index.html or index.htm in a directory, then the server will return a list of all the files in the directory.
index.htm(l) is also the page that is indexed in the FreePages Directory. It is indexed
according to what appears between the
|
||||||||||||
|
http://freepages.computers.rootsweb.ancestry.com/~pasher/naming.htm
Copyright ©2000-2008 Pat Asher |
|||||||||||||