Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Using Folders To Define Web Site Structure

Do you have any suggestions on how to manage a site with folders?

It's an excellent idea to organise your site with folders (directories). I recommend putting a lot of effort into designing a logical system based on the user's view - rather than say, departmental structure, though that might play a role. Your navigation system should then be able to take advantage of the file structure, and good keywords will appear in the URLs themselves, helping users figure it out.

For example, there are two logical places for images:

  1. in a dedicated images directory, if they are going to be used on more than one page, e.g. logos and navigation icons.
  2. in the directory of the page using them, if they are only going to be used on the one page.
At least I find this scheme works well for me.

Also, it's important to note that the images do not have to be in the same directory as the page using them; just use relative URLs to access them, e.g.

    <Img src="../../Icons/Home.gif" (etc)>

    or perhaps

    <Img src="/Icons/Home.gif" (etc)>


Up to => Home / WebRef / IAQ




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers