# Sitemap XML

## What is a sitemap?

A sitemap is a file that provides information about the pages 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.

{% embed url="<https://support.google.com/webmasters/answer/156184?hl=en>" %}

## Standard sitemap.xml

Every site that is published has a sitemap.xml file that dynamically updates when you add or edit pages within your site.

`https://www.exampledomain.com`**`/sitemap.xml`**

**Example:** if your site's URL is `https://www.exampledomain.com`, then your sitemap.xml is located at `https://www.example.com/sitemap.xml`

## Location pages and Local site sitemaps

These are special sitemaps that are available depending on your project type.

### Local pages sitemap

`https://www.exampledomain.com`**`/sitemap-subsites.xml`**

Sitemap containing all Local Pages under the domain. Used for Local Pages projects where each location only has 1 page.

### Local sites sitemap index

`https://www.exampledomain.com`**`/sitemap-index.xml`**

Sitemap with links to the Individual sitemaps for each Local Site. Should be used if each Local Site has multiple pages

### Individual Local site sitemap

`https://www.exampledomain.com`**`/location/seattle/sitemap.xml`**

Individual sitemap containing all Pages within a Local Site.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.devhub.com/seo/sitemap-xml.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
