W
WindAndWaves
Hi Gurus
I am developing a site with several thousand (database generated) pages and
I am having some problems in organising my folders
This was my plan:
http://www.myurl.com/old/... = all the old files
http://www.myurl.com/2005/... = all the new files with ....
http://www.myurl.com/2005/ = the basic files, such as search.html and
index.html
http://www.myurl.com/2005/i/ = image folder
http://www.myurl.com/2005/i/L/ = large images ~ 1000
http://www.myurl.com/2005/i/M/ = medium images ~ 1000
http://www.myurl.com/2005/i/S/ = small images ~ 1000
http://www.myurl.com/2005/s/ = stylesheet folder ~ 3
http://www.myurl.com/2005/j/ = scripts ~ 4
http://www.myurl.com/2005/o/ = buttons and other gifs ~ 100
http://www.myurl.com/2005/H/ = individual pages ~ 500
http://www.myurl.com/2005/A/ = admin page for each individual page ~ 500
html pages can be in the following directories
/2005/
/2005/H/
/2005/A/
but they all link to the same stylesheet (2005/s/), javascripts (2005/j/),
images and buttons
now my question is how I can, using the least amount of code, make sure that
html pages in all three directories can hook up with their stylesheets and
the like.
I tried the <BASE HREF> thing, but that means that I have to make all my
#-links absolute.
I thought about adding an absolute path for all images, stylesheets,
scripts, etc.., but that also is a lot of code
besides, I am not very confident with using the ../ and ./ syntax.
I usually put all my html documents in one bunch and then just have a couple
of child directories with pics, stylesheets and the like. That way, any
links between html documents do not need any slashes or dots at all.
Any hints greatly appreciated
- Nicolaas
I am developing a site with several thousand (database generated) pages and
I am having some problems in organising my folders
This was my plan:
http://www.myurl.com/old/... = all the old files
http://www.myurl.com/2005/... = all the new files with ....
http://www.myurl.com/2005/ = the basic files, such as search.html and
index.html
http://www.myurl.com/2005/i/ = image folder
http://www.myurl.com/2005/i/L/ = large images ~ 1000
http://www.myurl.com/2005/i/M/ = medium images ~ 1000
http://www.myurl.com/2005/i/S/ = small images ~ 1000
http://www.myurl.com/2005/s/ = stylesheet folder ~ 3
http://www.myurl.com/2005/j/ = scripts ~ 4
http://www.myurl.com/2005/o/ = buttons and other gifs ~ 100
http://www.myurl.com/2005/H/ = individual pages ~ 500
http://www.myurl.com/2005/A/ = admin page for each individual page ~ 500
html pages can be in the following directories
/2005/
/2005/H/
/2005/A/
but they all link to the same stylesheet (2005/s/), javascripts (2005/j/),
images and buttons
now my question is how I can, using the least amount of code, make sure that
html pages in all three directories can hook up with their stylesheets and
the like.
I tried the <BASE HREF> thing, but that means that I have to make all my
#-links absolute.
I thought about adding an absolute path for all images, stylesheets,
scripts, etc.., but that also is a lot of code
besides, I am not very confident with using the ../ and ./ syntax.
I usually put all my html documents in one bunch and then just have a couple
of child directories with pics, stylesheets and the like. That way, any
links between html documents do not need any slashes or dots at all.
Any hints greatly appreciated
- Nicolaas