Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Organizing web site files
Old 01-12-2010, 12:21 PM Organizing web site files
Junior Talker

Posts: 3
Name: Bjarne Jensen
Trades: 0
Hi
I need some ideas (pro's and con's) about filing systems for the web site files.
In my first web site I placed all files in the root and I wasn't happy with that. Will it be smarter to save in folders? Or maybe I should ask: What is the maximum number of files to have in a folder before it becomes impractical.
If I use folders what do I do with the css files? Do I put a css file in each folder or do I use a global address?
With a global address I can't preview.

Anybody got some ideas.
jensen
jensen is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-12-2010, 02:40 PM Re: Organizing web site files
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
What is the maximum number of files to have in a folder before it becomes impractical.
It doesn't really matter, it's what is practical for YOU to manage.

Quote:
If I use folders what do I do with the css files? Do I put a css file in each folder or do I use a global address?
I tend to keep my CSS files in the root of the web site, it keeps pathing issues to a minimum. Some people put css files in a css folder - it's just a matter, really, of what works for you. The web server doesn't care.

Quote:
With a global address I can't preview.
What do you mean? Why wouldn't you be able to ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-12-2010, 04:42 PM Re: Organizing web site files
Junior Talker

Posts: 3
Name: Bjarne Jensen
Trades: 0
Quote:
What do you mean? Why wouldn't you be able to ?
My question was not well worded. What I meant was, that if I have the css file in the root and refer to it with a global address, the preview function can not find it if the site I want to test is not in the root.
I get the rest of your answer. Just not sure how to refer to css files when using folders.

Last edited by chrishirst; 01-12-2010 at 05:07 PM..
jensen is offline
Reply With Quote
View Public Profile
 
Old 01-12-2010, 08:55 PM Re: Organizing web site files
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
the preview function can not find it if the site I want to test is not in the root.
I"m not sure I follow. In your html, you tell it where to find the css file like this:

Quote:
<link href="main.css" rel="stylesheet" type="text/css" />
It shouldn't matter where you put the css, as long as your path in that <link> statement is correct.

If you had the CSS in a folder, then it would be like this:

Quote:
<link href="css/main.css" rel="stylesheet" type="text/css" />
So if the html file is in the root directory, it will go down 1 level to the CSS folder to find the css file.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-12-2010, 09:01 PM Re: Organizing web site files
Banned

Posts: 421
Location: Boston, MA
Trades: 1
You should always put websites you work with in folders. Life would much of a chaos otherwise.
webcosmo is offline
Reply With Quote
View Public Profile Visit webcosmo's homepage!
 
Old 01-13-2010, 04:44 PM Re: Organizing web site files
Experienced Talker

Posts: 35
Name: Matthew Cook
Trades: 0
This is something I found out about the hard way when I was creating a pretty large site. I usually just create a folder for CSS, one for any scripts and one for images. I sometimes will then break down those groups with other files lie: images > Products > Fishing rods etc...

I personally don't like to have many files in each folder but if you don't put enough files in each folder you kind of have the same problem clicking through 10 folrder to get to an image.
__________________

Please login or register to view this content. Registration is FREE
- Fastest growing Winnipeg website design company
mcook is offline
Reply With Quote
View Public Profile
 
Old 01-15-2010, 01:38 PM Re: Organizing web site files
Junior Talker

Posts: 3
Name: Bjarne Jensen
Trades: 0
Thanks everybody.
I think problem is solved. It seems that each dircectory must have an index page. As far as I can see it must like this:
./dir/index.html
without the page title.
I can't get my software to add a trailing slash. Safari will complete the address (if known) with a trailing slash when you start writing. That will give users a 404.
jensen is offline
Reply With Quote
View Public Profile
 
Old 01-15-2010, 05:00 PM Re: Organizing web site files
GeekSpecialties's Avatar
Super Talker

Posts: 132
Name: Leonard
Location: Minnesota, USA
Trades: 0
The directory does not need an index page. It's just that if you do not specify a file (/ex.html) most servers are configured to display index named files by default.

Usually in an order similar to
index.html
index.htm
index.shtml
index.php
http://en.wikipedia.org/wiki/Index.html

As far as organizing pages in folders there is a slight SEO advantage if your site has different subjects/areas. You can organize your site like; example.com/mysubject/
__________________
Len,

Please login or register to view this content. Registration is FREE
.
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

GeekSpecialties is offline
Reply With Quote
View Public Profile Visit GeekSpecialties's homepage!
 
Old 01-15-2010, 05:49 PM Re: Organizing web site files
Defies a Status

Posts: 1,606
Trades: 0
Quote:
As far as organizing pages in folders there is a slight SEO advantage if your site has different subjects/areas. You can organize your site like; example.com/mysubject/
You have a quotable source or is that just your opinion?

I agree with you. I just want to see if we share an opinion or knowledge.
__________________
Colbyt

Please login or register to view this content. Registration is FREE
colbyt is offline
Reply With Quote
View Public Profile
 
Old 01-16-2010, 09:27 PM Re: Organizing web site files
GeekSpecialties's Avatar
Super Talker

Posts: 132
Name: Leonard
Location: Minnesota, USA
Trades: 0
Google doesn't verify this, but if you search the general consensus is it helps having keywords in the domain and structure.
Search for something like SEO folder Structure and go with what you think.

Here are 2 videos, one that says it doesn't matter, then one that says hyphens are better than underscores. Why would it matter if they were not taking into account the words in the file/folder name.

http://www.youtube.com/watch?v=Hx68PlCTuIU

http://www.youtube.com/watch?v=Q3SFVfDIS5k
__________________
Len,

Please login or register to view this content. Registration is FREE
.
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

GeekSpecialties is offline
Reply With Quote
View Public Profile Visit GeekSpecialties's homepage!
 
Old 01-18-2010, 11:16 AM Re: Organizing web site files
-webmaster-'s Avatar
Skilled Talker

Posts: 80
Name: Chrisy
Trades: 0
Imho it's easier to group files and put them in folders. It's easier to manage them. For some you may want for example some extra security level or no index attribute so, you will not have to treat every file individually and it will safe you a bit of your time.
__________________
sru sru sru
-webmaster- is offline
Reply With Quote
View Public Profile
 
Old 02-16-2010, 12:16 PM Re: Organizing web site files
Novice Talker

Posts: 5
Name: Oscar
Trades: 0
Its always good to start the architecture of the site by making directories (folders) for design and SEO reasons.
For design it shows that the webmaster is very organized and saves files in a relevant folder example images, styles, scripts, products, type of product and etc. Easy to navigate.

For SEO making different folders are good because it shows the search engines that your site is a large site, easy to navigate and you can also embed keywords on your folder names which will give you a better chance to get up on the search engines.

EXAMPLE
http://www.web-services-abc.com/web-design-services/web-design-layouts.html
or
http://www.web-services-abc.com/web-development-services/web-development-apps.html
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
oasmat is offline
Reply With Quote
View Public Profile Visit oasmat's homepage!
 
Old 02-16-2010, 02:29 PM Re: Organizing web site files
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by oasmat View Post
For SEO making different folders are good because it shows the search engines that your site is a large site, easy to navigate and you can also embed keywords on your folder names which will give you a better chance to get up on the search engines.
Total rubbish!!!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-17-2010, 04:45 PM Re: Organizing web site files
Novice Talker

Posts: 9
Name: Amber
Trades: 0
i've heard joomla is a great tool for this, if i'm understanding correctly.
CenterCityIDEAS is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Organizing web site files
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.86558 seconds with 12 queries