Adding a sitemap to Google Search Console

A

Step 1: Sign in to Search Console

Navigate to https://search.google.com/search-console/about and sign in using your Google account.

Step 2: Select your property

adding sitemap

Choose the website for which you want to add the sitemap from the list of properties.

Step 3: Access the Sitemaps section

In the left-hand sidebar, locate the „Indexing” section and click on „Sitemaps”.

adding sitemap

Step 4: Submit your sitemap

In the „Add a new sitemap” field, enter the full URL of your sitemap file. For example, if your sitemap is located at https://www.example.com/sitemap.xml, you would enter this URL.

Click the „Submit” button to add the sitemap to Google Search Console.

Locating your sitemap

Sitemaps are commonly found in the following locations:

  • /sitemap.xml – This is a common default location for sitemaps.
  • /sitemap_index.xml – Often used for WordPress installations.

You can also check your robots.txt file for clues about the location of your sitemap. The robots.txt file may contain a sitemap: directive pointing to the sitemap’s URL.

Using search operators to find your Sitemap

If you’re still unable to locate your sitemap, you can use Google search operators to narrow down your search. Here are a few examples:

  • site:yourdomain.com filetype:xml – This searches for XML files on your domain.
locating a sitemap
  • site:yourdomain.com ext:XML – Similar to the previous operator, but uses the „ext:” operator.
  • site:yourdomain.com inurl:XML – Searches for URLs containing „XML”.
  • site:yourdomain.com ext:XML inurl:sitemap – Specifically targets XML files with „sitemap” in the URL.

Verifying sitemap submission

Once you’ve submitted your sitemap, you can check its status in Search Console. The „Submitted sitemaps” section will list your sitemap along with information such as the last crawl date, the number of discovered URLs, and any indexing errors.

On this list, you can view all sitemaps that were nested within the main sitemap, such as sitemaps containing lists of authors, categories, pages, and posts.

Each sitemap will display data in columns indicating the last read time, status, discovered URLs, and associated video content.

From this view, you can also navigate page-by-page to see the indexing status of URLs from each sitemap.

sitemap indexing

Adding the sitemap to robots.txt

It’s recommended to add your sitemap to your robots.txt file. This informs search engines about the location of your sitemap and helps them better discover your website’s content.

The syntax for adding a sitemap to robots.txt is as follows:

Sitemap: https://www.example.com/sitemap.xml

Additional Resources

About the author

Jakub Mazurkiewicz

Seasoned SEO Content Strategist with a Passion for Experimentation and Learning

With over a decade of experience in the ever-evolving realm of SEO content, I have honed my skills through a combination of self-directed experimentation and mentorship from industry experts. My passion lies in crafting strategic content that drives organic traffic and elevates website rankings.

Tools of the Trade:

ZipTie: My go-to tool for conducting in-depth indexing monitoring.

ahrefs: A comprehensive SEO toolkit that empowers me to analyze backlinks, track competitor performance, and conduct comprehensive site audits.

Revamper11: An indispensable tool for managing and resolving indexing errors.

By Jakub Mazurkiewicz

Get in touch

The Search Console Blog is your one-stop shop for everything you need to know about Google's premier tool for monitoring and maintaining your website's search rankings and indexing health.

Stay up-to-date by following us on social media.