Forum Moderators: open
I have a question. I've been thinking quite a bit about using a CMS, but because of certain things, I prefer to really just get started now and then think about whether I want to switch to one or not, again in three months (after the semester). I've thought about this quite a lot, so Im sure this is how I'm going to do it.
However, I just remembered something somebody told me a couple of months ago. That I should organize my files into folders and then link to www website com/folder1 instead of www website com/file.html or www website com/folder1/file.html.
He said I should do it this way, because then I wont run into any search engine issues if I want to change from .html to .php or .asp or whatever at some time in the future.
My pages are all .shtml, now (because Im using SSI).
Is it a good idea to create a folder (and possibly a sub-folder) for every page I have so I can link to the folder or subfolder instead of linking to a .html or .shtml file or something?
I assume in my case, because I'm considering switching to a CMS later on, this might be very important? Or can I use .shtml files with a CMS, too (so I dont lose any links).
Is this a good idea or plain unnecessary?
I assume the theory behind it is that people will link to what they see in the browser. So they'll see www website com/folder1/ and thus link to it that way instead of adding index.html or index.shtml to the path they see. Does it really work like that?
Also: Does it matter whether I link to www website com/folder1 or www website com/folder1/ ?
Maybe I can eliminate/block the choice Im not using so nobody's gonna link to it (unless they want a broken link)?
THANKS!
PS: My site only has 17 pages (and I dont think Ill add any new ones, so its not a ton of work and Ive done it for 2 categories already just to test it)
If you go with a folder structure, be sure to build up substantial content and have useful and important inbound links back to your site. If you have loads of content and good branding reasons for treating each section as a separate entity, then sub domains may be the best way to go. However, there is a lot more work involved if and when you decide to add a new section — it’s not as simple as adding another folder.
a) I place them into a folder (each html page) and call the page index.html
or
b) I do a URL-rewrite (which I dont understand anything about)
..so given that I dont know anything about b) and that I've already done a) (and only have 17 pages...wont be many more because of the nature of the site)...it's probably fine?
I guess some people might think that creating a folder if no folder is needed (pseudo-folders) is a bad thing, but it doesn't really have any disadvantage, right? or does it?
thanks!
What you need to do also is:
And while you're at it, make sure your site is using either www or non-www for all URI's and that the non-canonical versions are resolving to the canonical versions. ;-)