I have seen some sitemaps that include the home page, eg http://example.com and others that do not.

Is including a home page of any use and recommended in any reputable documentation?

Edit: The offical sitemap site http://www.sitemaps.org/protocol.html shows examples of customization to the homepage, so the real question is if a homepage with default settings is assumed by the search engines and is only required for customization. There are defaults for the optional parameters and some people suggest leaving it to the search engine algorithm if you don't know what you are doing.

This article suggests, "By default, when you submit a sitemap to the search engines your homepage gets a priority level of 1, and all other pages get a priority level of .5", but is the only reference I have found. However, it is ambiguous and does not answer my curiosity.

  • Yes. The home page should exist in your sitemap- every time. What would be the advice not to? It just does not make sense not to include the home page.
    – closetnoc
    Jun 28 '15 at 16:42
  • Some people seem to think it is implied that your home page would be included. I've been looking at different static site generators recently and some of their sitemap generators do not seem to include it by default and I was seeing if there was a reason why. Benefits to include it I can think of are have more control over the priority and update time. Jun 28 '15 at 16:48
  • You will see advice that does not make sense often. People often over think things. Keep it simple and do not sweat the small stuff. Having a website is difficult enough. Include the homepage. Do not get into the weeds of craziness over the topic. The mechanics of search is simple. Including the homepage makes sense. Not including it cannot be justified.
    – closetnoc
    Jun 28 '15 at 16:52
  • I was hoping to keep it simple by not having to modify any code. ;) Jun 28 '15 at 16:59
  • If it is not included, I would not work hard to include it. I rolled my own sitemap generator and so it was easy. But if it is not so easy, skip it for now. There are more important things to do I am sure! Most of the time the sitemap is not really used anyway. It is only used to ensure that a site can be properly crawled the old fashioned way. If a search engine can crawl your site, then it will prefer that. Where a sitemap becomes important is for extremely large sites and site with pages behind a paywall or login.
    – closetnoc
    Jun 28 '15 at 17:04

Yes but just to add more custimizations like how msny times does it get changed and what is the last update time

  • I will accept this as if you can show the last update time, I think this would always useful and good practice if you are using a sitemap. Jul 2 '15 at 15:26

Yes homepage should be included in sitemap. Website owners inform search engines what pages on their website are available for crawling through sitemap only. so if you will not include your homepage, how search engine will get to know to crawl your homepage.

  • Search engines are capable of finding your pages via the links to and within a website. Some people in the past do not use them at all and claim good results, eg: smallbusinesssem.com/… Jul 2 '15 at 14:32
  • @RationalDev: the linked article is more than 10 years old.
    – jor
    Jan 24 '19 at 12:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.