Web Layout design
Thread Starter
Join Date: Jan 2001
Location: UK
Posts: 1,089
Likes: 0
Received 0 Likes
on
0 Posts
Web Layout design
Can any of you people who are far better at web design than me help please?
I have designed some pages for a personal web but do not understand how to organise them. For example there appears to be folders called www and htdocs and imgs etc etc. can anyone give me the correct "tree" so to speak?
Thanks in advance
I have designed some pages for a personal web but do not understand how to organise them. For example there appears to be folders called www and htdocs and imgs etc etc. can anyone give me the correct "tree" so to speak?
Thanks in advance
Bringer of Wx
Join Date: Jul 2000
Location: London
Posts: 236
Likes: 0
Received 0 Likes
on
0 Posts
Generally, there are no hard and fast rules for this; it's a matter of personal preference. You could quite easily put everything in the same folder. Personally, I prefer to separate images into a folder called, er, images and lump everything else together outside it.
This works fine for simple sites, although it pays to apply a deeper structure to more complex ones (and keep it consistent so you'll always know where everything is).
The only thing you need to ensure is that the index page (index.html/htm/php or whatever, is at the root of the directory. Good luck
This works fine for simple sites, although it pays to apply a deeper structure to more complex ones (and keep it consistent so you'll always know where everything is).
The only thing you need to ensure is that the index page (index.html/htm/php or whatever, is at the root of the directory. Good luck
Join Date: Jun 2006
Location: BRISTOL!
Age: 39
Posts: 526
Likes: 0
Received 0 Likes
on
0 Posts
Hey, funny enough, they should be the same folder, www is normally a shortcut to htdocs. Well it is on every server i have ever used, so sure it is on all the others. All files you want for public viewing should be in htdocs and make sure the main page is called index. All file cases should be lower as good practice. Index can be index.htm, index.html, index.php, index.asp, index.etc....
There should also be a robots.txt file for search engine use in htdocs as well as a .htaccess file which can be used for url rules, securing folders, password protecting folders and/or files.
The webhosting you are using sounds like its paid for? But in the chance its free and there are banners i have some free space on my server you can have banner free, got 800 or so free megs on my hosting, never going to use them so some one out there might be able to find a "legal" use for them...
There should also be a robots.txt file for search engine use in htdocs as well as a .htaccess file which can be used for url rules, securing folders, password protecting folders and/or files.
The webhosting you are using sounds like its paid for? But in the chance its free and there are banners i have some free space on my server you can have banner free, got 800 or so free megs on my hosting, never going to use them so some one out there might be able to find a "legal" use for them...