问题
I have a index.html on my root folder of a subdomain
i.e. example.example.com/index.html
and then I made a second folder (which is located in the root folder)
example.example.com/folder/index.html
Is this good/recommended?
PS I'm pretty new to this so I have a follow up question. Does this have tie in to sitemaps in a big way and do people usually use an app to do the their "sitemapping" for them?
回答1:
That's fine, but there should only be 1 per folder. The index.html is the file your webserver will serve up if another is not specified, so it is normal to have one in each directory.
As far as creating the sitemap, there are a lot of tools online that will create an XML sitemap for you and that is what people usually use.
回答2:
Its ok to have multiple index.html files, may be some experts will say its not a recommended way. But in my point of view as long as you know that what's going on you can have tons of index.html .
来源:https://stackoverflow.com/questions/23312717/is-it-ok-to-have-more-than-1-index-html-on-your-website