> For the complete documentation index, see [llms.txt](https://docs.premsoft.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.premsoft.de/en/plugins/seo-tools/management-dashboard/sitemap-and-hreflang.md).

# Sitemap and hreflang

The sitemap is your store's table of contents for search engines. Hreflang makes sure Google serves the right language version in multilingual stores. You control both here.

## Extended sitemap configuration (Basic)

**What is it good for?** By default Shopware includes everything in the sitemap. Often you want to control this – for example exclude landing pages or tell search engines how important certain content is. This improves how thoroughly and how up-to-date Google indexes your store.

**How to use it:** In the [Configuration](/en/plugins/seo-tools/configuration.md#sitemap) you define:

* which content types are included (**products**, **categories**, **landing pages**),
* the **change frequency** (e.g. weekly) as a hint about how often content changes,
* the **priority** (0.0–1.0), i.e. the relative importance.

Pages set to **noindex** via the robots tag are automatically excluded from the sitemap.

**Regenerate the sitemap manually:** Under **SEO Tools → Sitemap** you see when the sitemap was last built and how much content it contains. Via **Generate sitemap now** you trigger a rebuild. It runs **in the background** via the queue – even for very large stores the process does not block the Administration. After a short while, reload the page and you see the updated timestamp.

## Image sitemap (Premium)

**What is it good for?** Product images can bring in visitors on their own through Google Image Search. An image sitemap specifically submits your product images to Google.

**How to use it:** Enable the image sitemap in the [Configuration](/en/plugins/seo-tools/configuration.md#sitemap). You define **how many images per product** are included (max. 10) and whether the **cover image is listed first**. The images are embedded into the sitemap with the matching Google image tags.

## Hreflang management (Premium)

**What is it good for?** If your store serves several languages or countries, Google needs to know which page belongs to which language. Without this information your language versions compete with each other, or Google shows visitors the wrong variant. Hreflang annotations solve this.

**How to use it:** Under **SEO Tools → Hreflang** you link the language and country versions of your content across your sales channels. The plugin outputs the matching `hreflang` annotations automatically in two places:

* in the **HTML head** of every storefront page,
* in the **sitemap**.

This way Google understands the relationships and serves each visitor the correct language version.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.premsoft.de/en/plugins/seo-tools/management-dashboard/sitemap-and-hreflang.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
