---
title: 'Google Sitemap'
url: 'https://info.srv.kowal.co/docs/magento/modules/sitemap'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/sitemap.md'
lang: en
date: '2026-11-29'
description: 'Create a sitemap profile for each Magento store view, preview the XML with a dry run, and verify reciprocal hreflang links between translated pages.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - seo
    - multistore
---

# Google Sitemap

**Composer** `kowal/module-sitemap` · **Version** 0.1.8

## Product page

[Google Sitemap — kowal.co](https://kowal.co/kowal-google-sitemap)

## Description

Generates XML sitemaps from store view profiles and links equivalent pages across languages.

## For whom

For administrators publishing separate catalog and content sitemaps for multiple domains or languages.

## Features

- Select URL sources and exclusions per profile.
- Group language alternatives with hreflang.
- Preview generation, publish and inspect profile run history.

## Installation

From the Magento root, with Composer access to the Kowal package, run

```sh
composer require kowal/module-sitemap
bin/magento module:enable Kowal_Sitemap
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. Under **Modules → Sitemap**, create a profile, select its store view and choose an unused filename.
2. Select URL sources and exclusions. For language alternatives, assign the same hreflang group and distinct language codes, then enable alternatives for the source.
3. Preview the profile with a command such as `bin/magento kowal:sitemap:generate --id=1 --dry-run --format=json`. Replace 1 with your profile ID.

## Requirements / notes

Requirements include PHP matching `^8.1`, XMLReader, XMLWriter, PDO SQLite and `kowal/base ^1.1.9`. When migrating, choose a filename separate from the current generator’s output.

## FAQ

**Why are two translated CMS pages missing their alternate links?**

CMS pages have separate IDs. Assign both pages the same relation key in their respective profiles, for example `cms:12=about-us` and `cms:37=about-us`.

## Verify the installation

```sh
bin/magento module:status Kowal_Sitemap
```

After a successful dry run, generate the profile without `--dry-run`. Open the public XML index and its listed parts. Check URL domains and reciprocal language links for a known pair of pages.

## Components included in Google Sitemap

 [ **Sitemap Blog** Add Kowal Blog posts, categories and tag pages to the XML sitemap for a selected store view. ](https://info.srv.kowal.co/docs/magento/modules/sitemap/sitemap-blog) [ **Sitemap Layered Navigation** Include landing pages from Kowal Layered Navigation Suite in the sitemap, such as a Shop By option or a promotions page. ](https://info.srv.kowal.co/docs/magento/modules/sitemap/sitemap-layered-navigation) [ **Sitemap TrustedUs** Publish one sitemap URL for each TrustedUs group represented by an active company. ](https://info.srv.kowal.co/docs/magento/modules/sitemap/sitemap-trustedus)

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [SEO Rich Data](https://info.srv.kowal.co/docs/magento/modules/seo-rich-data.md)
- Next: [Review Translation](https://info.srv.kowal.co/docs/magento/modules/module-reviewtranslation.md)
- Children:
  - [Sitemap Blog](https://info.srv.kowal.co/docs/magento/modules/sitemap/sitemap-blog.md)
  - [Sitemap Layered Navigation](https://info.srv.kowal.co/docs/magento/modules/sitemap/sitemap-layered-navigation.md)
  - [Sitemap TrustedUs](https://info.srv.kowal.co/docs/magento/modules/sitemap/sitemap-trustedus.md)
