(Redirected from Websites)
Organization is crucial to maintaining a good, clutter-free website. It is important to adhere to the following guidelines:
- Most web servers, including Gustavus', are case sensitive. Therefore, it is recommended to keep all of your file and directory names lowercase.
- Hyperlinks are more difficult to create to URLs with spaces in them. Therefore, it is recommended to not use spaces in your file and directory names. As an alternative, use an underscore (_) or a hyphen (-).
- The main page in each directory is called index. If you have an index file in your directory, the web server will look there as a default if no file is specified in the url. For example, http://www.gustavus.edu/ actually refers to http://www.gustavus.edu/index.cfm.
- Make sure that your directories stay uncluttered by keeping all of your images in an images directory. If you are working with CSS, it is also recommended that you store your CSS files in a separate directory.
- Make a new directory for each logical section of your website. For example, if you are a professor who is teaching a number of different classes that each have their own pages, you should make a directory for each class.