PHPackages                             kenshodigital/kirby-sitemap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. kenshodigital/kirby-sitemap

ActiveKirby-plugin[Parsing &amp; Serialization](/categories/parsing)

kenshodigital/kirby-sitemap
===========================

Adds an XML sitemap to Kirby projects.

1.0.0(5mo ago)133MITPHPPHP ^8.5

Since Dec 9Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/kenshodigital/kirby-sitemap)[ Packagist](https://packagist.org/packages/kenshodigital/kirby-sitemap)[ RSS](/packages/kenshodigital-kirby-sitemap/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Kirby Sitemap
=============

[](#kirby-sitemap)

Adds an XML sitemap to [Kirby](https://getkirby.com) projects.

General
-------

[](#general)

The plugin adds a `/sitemap.xml` route and returns an [XML sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview), following Google’s [best practices](https://developers.google.com/search/docs/specialty/international/localized-versions#sitemap) for multilingual sites.

### Further reading

[](#further-reading)

- [Routes](https://getkirby.com/docs/guide/routing)
- [Multi-language](https://getkirby.com/docs/guide/languages)

Usage
-----

[](#usage)

### Installation

[](#installation)

```
composer require kenshodigital/kirby-sitemap ^1.0
```

### Development

[](#development)

#### Collection

[](#collection)

Out of the box, the sitemap includes all listed pages via a `sitemap` collection. This can be easily customized with your own collection, though.

```
