Should a Sitemap include the home page?

7,263

Yes, but just to add more customization, like how many times does it get changed, and what is the last update time.

Share:
7,263

Related videos on Youtube

RationalDev likes GoFundMonica
Author by

RationalDev likes GoFundMonica

Rational Dev: More of an aspiration than a claim. Consider supporting Monica Cellio's gofundme here >>> A popular and well-respected volunteer network moderator, Monica Cellio, was terminated without warning and portrayed to the press as misgendering trans people by Stack Overflow, Inc. All signs suggest this was an erroneous, if not malicious, decision not founded on fact, which the company is completely failing to take any responsibility for. This has caused an enormous and ongoing uproar in the community. Monica and the community have been quite literally begging for some kind of response from the company either opening up a path to reinstatement, or justifying their decision to terminate her, for more than a month now. She's made many good-faith offers to talk, and others have offered to mediate (and made dozens of constructive suggestions on how to resolve the situation). Several members of the Lavender community have spoken up on her behalf, e.g. in this prominent post. So far, Stack Overflow, Inc. has met all of this with thunderous silence. As a long-time contributor and someone always willing to see the good in the company's and its employees' actions and assume good faith, I'm still struggling to come to terms with the corporate callousness of this behaviour which we have to assume now is the new normal. Having exhausted all other means of communication, Monica is now raising funds for potential legal action to clear her name. This is in her own interest, but arguably also in the interest of the SO community at large. While only the libel is likely to be legally actionable, it might establish at least some boundaries to what the company can do to its volunteers, as well as be a symbolic slap in the face of a business that appears to have lost all respect for the community that keeps it alive. I have complete trust the funds will be used well and anything left over (say because they decide to do the right thing after all and legal action becomes unnecessary) will go toward good causes. Consider supporting her today.

Updated on September 18, 2022

Comments

  • RationalDev likes GoFundMonica
    RationalDev likes GoFundMonica over 1 year

    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.

    • Admin
      Admin almost 9 years
      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.
    • Admin
      Admin almost 9 years
      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.
    • Admin
      Admin almost 9 years
      I was hoping to keep it simple by not having to modify any code. ;)
    • Admin
      Admin almost 9 years
      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.
  • RationalDev likes GoFundMonica
    RationalDev likes GoFundMonica almost 9 years
    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/…
  • RationalDev likes GoFundMonica
    RationalDev likes GoFundMonica almost 9 years
    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.
  • jor
    jor over 5 years
    @RationalDev: the linked article is more than 10 years old.
  • Stephen Ostermiller
    Stephen Ostermiller about 2 years
    Even today search engines engines discover URLs from other sources than sitemaps. Sitemaps can help search engines find all your URLs, but it isn't the only way. In no case do search engines limit their crawling to just what is in your sitemap.
  • Admin
    Admin about 2 years
    Google Search Console report my homepage as duplicate? This URL is now excluded. The message by Google is saying: "Duplicate, submitted URL not selected as canonical".
  • Admin
    Admin about 2 years
    Duplicate of what? That usually means that Google is indexing a slight variation. Check for http vs https, www vs no-www and slash vs index.html.
  • Admin
    Admin about 2 years
    Google search console isn't saying from which url this homepage is a duplicate from. Pretty annoying right? It's the first item from the urlset: moneytips.nl/sitemap.xml
  • Admin
    Admin about 2 years
    Search Console usually will tell you if you use the inspect URL tool.
  • Admin
    Admin about 2 years
    I think I found the root cause. It was still thinking the homepage was a redirect (503). But that was the past. So I manually request for indexing. Google should now hopefully see the url is no longer redirected.
  • Admin
    Admin about 2 years
    A 503 is not a redirect. Redirects are all in the 300s. HTTP statuses in the 500s are all errors. Specifically 503 is service temporarily unavailable. It is usually used for maintenance mode for your site.
  • Admin
    Admin about 2 years
    Oops my bad. I mean to say 302 I think. I manage all my sites with nginx. So you can redirect pages as well
  • Admin
    Admin about 2 years
    That makes more sense. If you had been using a 302 redirect Google would be very unlikely to index your homepage.