PHPackages                             9thwonder/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. 9thwonder/sitemap

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

9thwonder/sitemap
=================

Craft 4 plugin that provides an easy way to provide and manage a XML sitemap for search engines like Google and Bing

01PHP

Since Aug 24Pushed 3y agoCompare

[ Source](https://github.com/liem9w/craft4-plugin-sitemap)[ Packagist](https://packagist.org/packages/9thwonder/sitemap)[ RSS](/packages/9thwonder-sitemap/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

XML-sitemap plugin for Craft CMS 4
==================================

[](#xml-sitemap-plugin-for-craft-cms-4)

Craft 4 plugin that provides an easy way to enable and manage a XML sitemap for search engines like Google and Bing.

This is a fork from [dolphiq/sitemap](https://github.com/Dolphiq/craft3-plugin-sitemap)

Thanks [Dolphiq](https://dolphiq.nl)

[![Screenshot](resources/screenshots/screenshot1.png)](resources/screenshots/screenshot1.png)

Using the XML-sitemap plugin
----------------------------

[](#using-the-xml-sitemap-plugin)

After the installation, you can find the plugin in the settings section of the Control Panel. You can enable and set the settings per entries section and enable categories in the sitemap.

After saving the desired settings, you can submit the xml url (your site url)/sitemap.xml to the searchengines.

Sitemap structure
-----------------

[](#sitemap-structure)

The sitemap is compatible with the [sitemaps.org](https://www.sitemaps.org/protocol.html) protocol.

In version 1.0.9 we added support for alternate languages to give [Google a better chance to point to the correct page](https://support.google.com/webmasters/answer/2620865?hl=en).

```

    https://othersite.local/news/news-item-1
    0.5
    weekly
    2018-02-21T21:09:47+01:00

```

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 4.0.0 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require 9thwonder/sitemap

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for XML sitemap.

XML-sitemap Roadmap
-------------------

[](#xml-sitemap-roadmap)

- Settings to enable /disable and split the entries in the xml on a site basis (for multi site setup)
- User (custom) url entry section
- Provide a way hide entries from the list
- Add a Ping for search engines
- Display the last 20 visits from search engines

### Contributors &amp; Developers

[](#contributors--developers)

Johan Zandstra - Brought to you by [Dolphiq](https://dolphiq.nl)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 69.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/893e554a8180f37d5784eccd4522c9141267b18c30bf254b555b7e37c5ba2831?d=identicon)[liem9w](/maintainers/liem9w)

---

Top Contributors

[![johanzandstra](https://avatars.githubusercontent.com/u/4737521?v=4)](https://github.com/johanzandstra "johanzandstra (56 commits)")[![liem9w](https://avatars.githubusercontent.com/u/78190451?v=4)](https://github.com/liem9w "liem9w (7 commits)")[![RobinSecondred](https://avatars.githubusercontent.com/u/174421896?v=4)](https://github.com/RobinSecondred "RobinSecondred (4 commits)")[![martijn-dolphiq](https://avatars.githubusercontent.com/u/73286145?v=4)](https://github.com/martijn-dolphiq "martijn-dolphiq (4 commits)")[![dolphiq-allard](https://avatars.githubusercontent.com/u/4312073?v=4)](https://github.com/dolphiq-allard "dolphiq-allard (4 commits)")[![BigglesZX](https://avatars.githubusercontent.com/u/116970?v=4)](https://github.com/BigglesZX "BigglesZX (1 commits)")[![WillVerse](https://avatars.githubusercontent.com/u/35260018?v=4)](https://github.com/WillVerse "WillVerse (1 commits)")[![mrnebbi](https://avatars.githubusercontent.com/u/708691?v=4)](https://github.com/mrnebbi "mrnebbi (1 commits)")[![nikolowry](https://avatars.githubusercontent.com/u/597310?v=4)](https://github.com/nikolowry "nikolowry (1 commits)")[![robinvdvleuten](https://avatars.githubusercontent.com/u/238295?v=4)](https://github.com/robinvdvleuten "robinvdvleuten (1 commits)")[![Tam](https://avatars.githubusercontent.com/u/977594?v=4)](https://github.com/Tam "Tam (1 commits)")

### Embed Badge

![Health badge](/badges/9thwonder-sitemap/health.svg)

```
[![Health](https://phpackages.com/badges/9thwonder-sitemap/health.svg)](https://phpackages.com/packages/9thwonder-sitemap)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
