Website directory structure

Mikejf

Free Member
Mar 5, 2008
221
6
Swindon
It doesn't really matter to be honest. The sub folders in this example are unecessary so just using files in the root directory would be fine. That said, I've heard that using /folder/index.htm means that you could later change to /folder/index.php and Google would be smart enough to realise they are the same file (so if change your site in the future you don't need to worry too much about search engines).

For SEO purposes, I would usually go with /product-type/product-name.htm - grouping product types in their own folder is a good way to add keywords to the URL. Not a pre-requisite for success though.

Another area to consider is if you need to monitor certain types of content (either via search engines or via analytics tools). Using sub folders to contain certain content types can be useful to group stats together. For example, you might want to know how many people visit your /sales/ pages or your /company-info/ pages.

But in the grand scheme of things, all this stuff might not really be a concern for you so the choice is really down to how you want to organise your files on the server. :)

Scott
 
  • Like
Reactions: Mikejf
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,892
8
15,492
Aldershot
www.aerin.co.uk
As it's a simple site just shove them all in the root.

It's going to make it so much easier to update the internal links as all you need to do is set up index.html and then do a 'save as' for all the other pages. vwalla sorted.
 
  • Like
Reactions: Mikejf
Upvote 0

NMHancock

Free Member
Apr 24, 2008
283
43
Newcastle
Hi Mike,

I echo the sentiments of the other members on here, however one word of caution if you decide to go down the folder and sub folder root, DO NOT get carried away, Google is not a big fan of pages with lots of trailing slashes, one or two is okay as its sensible to organise data, but never have 4 or more traling slashes.

Hope this helps

Neil M Hancock
 
Upvote 0
You do need to carefully consider changes to your site's architecture when redesigning but that's not necessarily related to the directory structure. You can effectively change the URL structure without changing how your pages actually link to each other (which is what can have the positive or negative impact on your rankings). Although that said, OWG's example does explain a common case where directory structure naturally dictates link structure so the two aren't always separate issues.

I've been going through a lot of site redesigns in the past 12 months, ranging from small blogs to large, high traffic sites - all had a positive impact on organic traffic (for some of the smaller blogs this equated to 400% increase in organic referrals by only changing the internal architecture). That said, I was approaching each redesign project with the aim of improving architecture that wasn't ideal - there is a risk of negative impact if your designer approaches the task with different goals in mind.

IMO site architecture is one of the most important aspects of SEO that is commonly not addressed as well as it should be.
 
Upvote 0

Birmingham

Free Member
Nov 14, 2006
2,012
179
UK
best is:
mysite.co.uk/
mysite.co.uk/about
mysite.co.uk/contact

notice no trailing slash on the latter 2 even after the page has loaded - this can be achieve with a .htaccess file on a linux server.

and for some distinct special multi-page sections create special1.mysite.co.uk and subdomain2.mysite.co.uk ...etc ;)
 
Last edited:
Upvote 0

Latest Articles