Skip to content

vdlp/oc-sitemapgenerators-plugin

Repository files navigation

Vdlp.SitemapGenerators

This plugin provides Sitemap generators for October CMS.

General

This plugin supports the following page types:

  • RainLab.Pages Page
  • October CMS Page

We encourage you to create more Sitemap generators for the common October CMS plugins. Feel free to create a PR (from develop branch) and submit your ideas.

Requirements

  • PHP 8.0.2 or higher
  • This plugin requires the Vdlp.Sitemap plugin.
  • October CMS 3.x

Configuration

Add the plugin configuration to your config folder:

php artisan vendor:publish --provider="Vdlp\SitemapGenerators\ServiceProvider" --tag="config"

Add the following lines to the .env file of your project:

VDLP_SITEMAP_GENERATORS_RAINLAB_PAGES_ENABLED=true
VDLP_SITEMAP_GENERATORS_CMS_PAGES_ENABLED=true

To exclude specific URLs from your sitemap.xml please refer to the documentation of the Vdlp.Sitemap plugin which can be found here: https://github.com/vdlp/oc-sitemap-plugin/blob/master/README.md

Issues

If you have issues using this plugin. Please create an issue on GitHub or contact us at octobercms@vdlp.nl.

Contribution

Any help is appreciated. Or feel free to create a Pull Request on GitHub.