Jump to Content

Naming folders and files

It is important that the folders and files in your new site are organised in a way that

Web browsers allow for a prospective view that can influence how users navigate. As the user passes the cursor over a hypertext link, the destination URL appears at the bottom of the browser window, providing clues about the nature of that content. If files and directories have been carefully labelled, this prospective view gives the user context within the content hierarchy.

If you are creating a new site this is a good opportunity to get your folder and file structure correct. If you are converting a current site you can clean up your files and folders so that unlinked files or archival material can be sorted from what is up to date. See Website maintenance for details.

 


Templates and images folders

You will notice two folders already on your new site (at www.newdev.unisa.edu.au/*)

  1. Templates folder. This contains the three template types ready to be saved as files for your webpages'Current students' folder structure containing three files and an images folder
  2. images folder. Save all your images to the images folder so that you know where they are. If however you have a lot of images, you may want to create specific image folders, relevant to your folder structure eg if you have a folder called 'current' (Current students) containing files with lots of images in them, within this folder you might create another folder called images

 

Naming conventions

When you name a folder or file, the following rules apply

 

Naming the home page

Call the home page of your website 'default.asp'. The server thinks of a home page as a default document or index page of a website, because it's the file that the web server sends to a browser by default. Thus when a browser requests a URL with no particular file specified, the web server looks for a default document to deliver.

Using default.asp also shortens the url name. You can type in http://www.unisa.edu.au/wag/construct/ for example, and go straight to the site without having to type in default.asp (although it won't open up the left menu). Not using default.asp

http://www.unisa.edu.au/cre/news/newseventspublications.asp

Home page name in Menu Editor (the navigation tool)

When you build your menu in Menu Editor, you will give this default home page a title that is appropriate to its position in the menu as the first and main (level 1) heading eg if you are authoring a school site, you will probably call this page School of ... even though its URL is still default.asp. 

 

Creating new folders

You will want to create new folders in your new authoring site if you have more than one file under a submenu heading (level 2 heading). Do this as you normally would in FrontPage

  1. Select the address of your website in the Folder List (eg www.newdev.unisa.edu.au/*)
  2. Go to File, then New
  3. Select Folder
  4. A new folder will appear in your Folder List
  5. Select the folder and right click the mouse
  6. Select Rename
  7. Type in your new folder name and press Enter

Naming the index page

Each new folder's initial or index page should be called 'default.asp', like the home page. If the first file in your folder is called default, there will be fewer problems with conversion. Look at the diagram in Site structure for a clearer picture.

File names in Menu Editor

When you build your menu in Menu Editor, this default page for your folder will become the introduction to that folder (level 2) heading. So if the folder is named 'current', you may give the file the title 'Current students' while still retaining its URL address as current/default.asp. Other files under 'current' such as 'resources.asp' and 'specialisations.asp' will probably end up with titles such as ‘Resources for students’ and 'Program specialisations' to reflect how you want them to be viewed on the web. It is best to keep file names that will appear on the web as short as possible. For more details on this process go to Building your navigation menu.

 

 

top^