Kirbyzone Sitemapper Plugin for Kirby 3
A plugin by Cre8iv Click to auto-generate syntactically-correct xml sitemaps for our clients’ Kirby websites. Some neat features of this plugin:
- configuration done directly on your blueprints, or via a ‘sitemap’ page/file field
- plays nicely with multilingual sites, even if they have single-language blueprints
- tries to guess when visitor/bot is trying to reach
sitemap.xml, even if at wrong URLs
- if accessed directly on the browser, the sitemap is displayed as a nicely-formatted, customisable and easy-to-navigate page
- you can define your own mapping function, to generate a sitemap that works with your custom routes and virtual pages.
More information, as well as installation and usage instructions at the project’s repository, here:
Quick note to let everyone know that as of version 1.0.5, you can now apply some basic customisation to the styling of your sitemap. This allows you to make the map suit the client’s site/brand better - or just give it your own ‘flavour’!
In case you didn’t know: Sitemapper version 1.1 is out!
The new version allows you to totally override the built-in mapping function, so you can basically build their own ‘map’. This is a valuable feature for advanced developers working on sites that use custom routing and virtual pages - you can read all about it in the Sitemapper docs, here Enjoy!
Hi all! Just wanted to let you know that we’ve done a minor upgrade to Sitemapper.
The new version 1.2 now allows you to customise all the text/strings shown by the browser template. This makes it possible to customise the map even further, and to also LOCALISE it. Read more about it in the Customising The Sitemapper Text page of the manual.
IMPORTANT: BREAKING CHANGE
I’ve had to rename and move my plugins to a different location (namespace). The Cre8iv Sitemapper is now the Kirbyzone Sitemapper , and it can be found at:
The documentation will soon be updated, but in the meantime, in order to install it via composer, please use:
composer require kirbyzone/sitemapper
According to the google doc,
@hreflang should be with ISO 639-1 or ISO 3166-1 Alpha 2 (for region).
After line 161 to the index.php file, I’ve wrote
$locale = str_replace('_', '-', $locale);
I manually installed the plugin: site/plugins/sitemapper-master. I edited the blueprint for one page to be excluded; code below. Unfortunately, the sitemap does not appear in the root folder. What is wrong?
# SITEMAPPER SETTING
@Toni There is no sitemap ‘file’ - the sitemap is created dynamically by the plugin, every time it is requested.