What is a sitemap?
A sitemap is a file where you provide information about the pages, videos, and other files on your site, and the relationships between them. Search engines like Google read this file to more intelligently crawl your site. A sitemap tells Google which pages and files you think are important in your site, and also provides valuable information about these files: for example, for pages, when the page was last updated, how often the page is changed, and any alternate language versions of a page.
- A sitemap video entry can specify the video running time, category, and age-appropriateness rating.
- A sitemap image entry can include the image subject matter, type, and license.
Do I need a sitemap?
If your site’s pages are properly linked, Google can usually discover most of your site. Even so, a sitemap can improve the crawling of larger or more complex sites, or more specialized files.
You might need a sitemap if:
- Your site is really large. As a result, it’s more likely Google web crawlers might overlook crawling some of your new or recently updated pages.
- Your site has a large archive of content pages that are isolated or not well linked to each other. If your site pages do not naturally reference each other, you can list them in a sitemap to ensure that Google does not overlook some of your pages.
- Your site is new and has few external links to it. Googlebot and other web crawlers crawl the web by following links from one page to another. As a result, Google might not discover your pages if no other sites link to them.
- Your site has a lot of rich media content (video, images) or is shown in Google News. Google can take additional information from sitemaps into account for search, where appropriate.
You might not need a sitemap if:
- Your site is "small". By small, we mean about 500 pages or less on your site. (Only pages that you think need to be in search results count toward this total.)
- You're on a simple site hosting service like Blogger or Wix. If your site is on a service that helps you set up a site quickly with pre-formatted pages and navigation elements, your service might create a sitemap for your automatically, and you don't need to do anything. Search your service's documentation for the word "sitemap" to see if a sitemap is generated automatically, or if they recommend creating your own (and if so, how to submit a sitemap on your hosting service).
- Your site is comprehensively linked internally. This means that Google can find all the important pages on your site by following links starting from the homepage.
- You don't have many media files (video, image) or news pages that you need to appear in the index. Sitemaps can help Google find and understand video and image files, or news articles, on your site, if you want them to appear in Google Search results. If you don't need these results to appear in Image, Video, or News results, you might not need a sitemap.