问题原文
原帖链接 · x0x · CC BY-SA 3.0
I have more than 5 subdomains on a project, say developer, www, staff and some more, what is the best practice in creating sitemaps?
All subdomains that share a same sitemap at base domain (example.com/sitemap.xml) ? or different sitemaps for different subdomains?(developer.example.com/sitemap.xml and www.example.com/sitemap.xml)
Since the subdomains are several parts of the main application, what are the pros and cons of each, and what should I consider while choosing the one over the other? (one sitemap per subdomain or one for the whole site)
已采纳解答
原帖链接 · Zulhilmi Zainudin · CC BY-SA 4.0
As per Matt Cutts blog post, he said:
A subdomain can be useful to separate out content that is completely different. Google uses subdomains for distinct products such news.google.com or maps.google.com, for example.
This is similar to what Blogger (blogspot) does.
John's blog (john.blogspot.com) is totally different from Doe's blog (doe.blogspot.com). Google sees these two blogs as two different sites even though they share the same tail (*.blogspot.com).
Each of these blogs have their own sitemap and are not shared between one another. If one blog gets deleted, the sitemap file will be deleted as well - and it does not affect the other blogs' sitemaps.
So, I'd like to recommend to you to use different sitemap files for different sub-domains. Unless you're using sub-directories/sub-folders.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
