Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does the site file structure make a difference?

Status
Not open for further replies.

BabyJeffy

Programmer
Sep 10, 2003
4,189
GB
Good morning,

I'm currently working on a new build site. The site framework utilises directory structure to provide "english readable" directory paths in the location bar.

Example:

The absence of any file name is deliberate - relying on the presence of the default document (index.php in this instance) to handle content (in most cases). Currently this is working really nicely.

Since this is my first attempt to put together a site with a specific emphasis on SEO, I would be interested to know of any thoughts (one way or the other) on this kind of structure.

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
 
Good suggestion on using hyphens... I'll incorporate that change (currently I just run them together into one).

I'm expecting some of the keywords to appear in the URL... nothing major and certainly nothing that attempts to spam the search engines.

The choice of this framework is more for human readability than anything else... I just didn't want to find I'd stuffed up any SEO opportunities by chosing this over another method.

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
 
Hi

BabyJeffy said:
The absence of any file name is deliberate - relying on the presence of the default document (index.php in this instance)
I think the site maintenance is easier if the files are not spreaded across multiple directories. If you use Apache, take a look at mod_rewrite :


Feherke.
 
I agree about maintainence issues - and this is fine (the actual underlying files handle things nicely already). I would go the mod-rewrite option... and I am using Apache... alas on Windows... which rules out the usual .htaccess operations (from my experience).

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
 
.htaccess being a Apache config file works just the same on windows as it does on *nix.

Actually using a directory structure does make site maintenance easier and there is a benefit in the way you can structure the information architecture to make it simpler for visitors to see where they are. Breadcrumb trails are simpler as well.
There is very little SEO benefit in keyworded folders/pagename/domains

And using mod_rewrite should be a last resort to issues where site pages are not getting crawled, Not used as an instant means to keyword your URIs.




Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
Hi

ChrisHirst said:
Not used as an instant means to keyword your URIs.
Yes it is for this too. Most exactly, to make URLs search engine friendly.

As Jeff wrote, there will be an URL
[blue][ignore][/ignore][/blue]
which will point to
[blue][ignore][/ignore][/blue]

So probably will be also
[blue][ignore][/ignore][/blue]
[blue][ignore][/ignore][/blue]

Which will be difficult to maintain. The easy way should be to use actually
[blue][ignore][/ignore][/blue]
[blue][ignore][/ignore][/blue]
[blue][ignore][/ignore][/blue]
and only the external world to see their search engine friendly format.


Feherke.
 
Though bear in mind that search engines these days are more tolerant of query strings in URLs than they once were.

If your on-page navigation is good enough, I don't think visitors will pay any attention to the URL. The SEO impact can be wildly overstated as well. Pick a system that you find easy to get on with, and spend your time on something more important...

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
and spend your time on something more important
Which remains probably the most practical suggestion to anyone working at SEO [smile]

The content for this site is still being written (although I've already migrated past the "Lorem Ipsum" state). Fortunately the client is malleable enough to accept our suggestions as fact (which allowed us to "suggest" they go for an accessible layout -- doubling up as search-engine "friendly").

Currently working on a revamp on the CSS (the current styles break IE5.2 on the Mac) -- rebuilding the layout styles has resolved that and hopefully within a few days I'll have something that I'm happy for people to look at.

Thanks for the input.

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
 
How is a structure using folders less maintainable than one using querystrings which you then propose to use mod_rewrite to make it look like folders and therefore adding a small overhead to the server processing?

The latest fad of using mod-rewrite or ISAPI-Rewrite (IIS) is simply a cover up for programmers short comings in dealing with the dynamics of creating URIs without a lot of parameters.
SE "Friendly" URIs arent all they are cracked up to be either.
On a test with one site half of the site with parameters the other half using SEF URIs which do you think got indexed first?
mod_rewrite should be reserved for the time when it is needed in getting over technical issues with crawling NOT for the mistaken belief that it will bring better rankings, because it won't.




Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top