Forum Moderators: open
I'm setting up a website using .html pages because it works easily for me.
To make it look more professional I've put the keywords in folders instead of the .html file names.
My structure looks like this:
/
/category-name/index.html
/category-name/internet-marketing/index.html
/category-name/internet-marketing/subfolder/index.html
The links on my website point to 'category-name/', or 'category-name/internet-marketing/' instead of directly to the index.html because it will automatically load the index as soon as you point to the folder.
As for my question, will this affect ranking? Is Google not going to be confused with all the index pages, or will it take the folder keywords into account and point results to 'folder/'?
I'm curious if anyone has any experience with this. I think blogs work like this there must be some file that will automatically load right?
Thanks in advance for your answer(s).
Regards, Rudolf
it is common and typical to configure a default document for directory request, which is what it means when a url ends in a slash.
you should 301 redirect the request for /category-name/index.html to the canonical url which should be /category-name/ and then the subsequent request will use the index.html in that directory to provide the document for that response.