Simplify Your Web Site’s File Structure for Better SEO Results
To improve the search ranking of your Web site, it’s a good idea to use a directory structure that is shallow — in other words, to limit the depth of your subfolders.
When you upload files to your Web site, you place them in directories. A siloed directory structure has a top-level folder for each main topic, subfolders within each main-topic folder for its related subtopics, and individual pages inside (as shown in the figure). Linking then naturally follows this structure, effectively reinforcing your directories through links.
When building a directory structure, be sure not to go too deep. For example, take a look at the URL of the page. The full address is the directory of where the page is. Observe:
The URL lets you know where the page is. Notice how the page named index.html is saved within the folder named mustang, which is a subfolder of the main directory ford. This page is only two levels deep in the site structure, which is good.
Too many levels of subdirectories can have the following negative effects:
The more clicks it takes to get from the home page to the target page, the less important it is deemed by the search engines.
Long directory paths make long URLs, and studies have proven that users avoid clicking long URLs on a search results page.
Long URLs are more prone to typos. This can discourage deep linking or even cause broken links to your Web pages from other sites. Also, users can make mistakes typing in your URL.
So don’t get category-happy. Making your directory structure ten directories deep is bad, having five levels is bad, and even having three levels of subdirectories is still not great. Although there's no hard and fast rule, you should try to remain quite shallow: One or two levels deep is usually sufficient. The closer the page is to the root of the directory, the more important your page looks to the search engine.
For example, a classic car Web site might only have one main directory level (the car’s make) and two directory levels of subcategories (model and year). The directory could look something like this:
http://www.customclassics.com/ford/delrio/index.html http://www.customclassics.com/ford/delrio/1957.html http://www.customclassics.com/ford/delrio/1956.html http://www.customclassics.com/ford/fairlane/index.html http://www.customclassics.com/ford/fairlane/1958.html http://www.customclassics.com/ford/fairlane/1959.html http://www.customclassics.com/ford/mustang/index.html http://www.customclassics.com/ford/mustang/1965.html http://www.customclassics.com/ford/mustang/1966.html
Note how shallow the directory structure is: No page is more than three directory levels away from the root.