Site structure (directory structure)...

They have: 140 posts

Joined: Jan 2003

Right my directories are just all web pages in my main directory, and then my graphics in /graphics.

The thing is, I want to change this to be things like:

/services/design
/products/PRODUCTNAME

... but this will just cause major problems when displaying graphics, and even links...

Any suggestions?

SonicMailer Pro
The best mailing list manager has just gotten better!
Click here for a full list of features!

They have: 140 posts

Joined: Jan 2003

Sorry, but I've never heard of the term "symlinks" ... ?

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Or alternatively use /graphics as the directory for images in your code...

src="/graphics/whatever.gif"

Even if the html file is /services/design, the forward slash tells the server to start at the root (domain name) and then go to the graphics directory. It's called "relative to root" instead of "relative (to file)".

They have: 140 posts

Joined: Jan 2003

hmm... I just went on an IRC chat and asked basically the same question, and was referred to:
http://www.w3.org/TR/html4/struct/links.html#edef-BASE

Seems like the ideal solution. It is just foreign code to me, for now. Has anyone used this bit of code? I have never seen it used until today.

SonicMailer Pro
The best mailing list manager has just gotten better!
Click here for a full list of features!

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

It's very old, and HTML 4 must be what you're using. It's not valid for XHTML.

So are you saying the markup language level independent "relative to root" uri method won't work for you?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.