1. Go to this page and download the library: Download blankogmbh/kirby-sitemap library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
blankogmbh / kirby-sitemap example snippets
c::set('sitemap.exclude', [
'error', // just the page error
'example*', // exclude all pages starting with example
'example/*', // exclude only subpages of example (but
c::set('sitemap.excludeHiddenPages', true);
c::set('sitemap.
c::set('sitemap.priority', [
'contact', // just the page contact
'important*', // all pages starting with important
'important/*', // all subpages of important (but not important)
]);
c::set('sitemap.priority', false); // disable prioritization
c::set('sitemap.pingGoogle', true);
c::set('sitemap.route.pattern', 'sitemap-xml');
config.php
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.