A guide for sitemaps
Our guide is – as always – Daniel Waisberg, who starts to describe what a sitemap is by highlighting the main aspects of this file: in short, “it is a signal of which URLs of your site you want Google to scan” and can provide information about newly created or modified URLs.
Google also supports four further expanded syntax modes by which we can provide additional information, useful to describe files and contents that are difficult to analyze in order to improve their indexing: so we can describe a URL with included images or a video, indicate the presence of alternative languages or geolocalized versions with hreflang annotations, or (for news sites) to use a particular variant that allows you to indicate the latest updates.
Google and Sitemap
“If I don’t have a Sitemap, can Google still find all the pages on my site?”. The Search advocate also answers this frequent question, explaining that a sitemap may not be necessary if we have a relatively small site and an appropriate internal linking between pages, given the fact that Googlebot should be able to discover contents without any problems.
On the contrary, in certain cases a sitemap is useful and necessary to help Google decide what and when to scan your site: