Create a highly customizable sitemap XML in Strapi CMS.
- Multilingual (Implements
rel="alternate"using the official i18n Strapi patterns) - Admin UI (Easily configure your sitemaps using the admin UI)
- URL bundles (Bundle URLs by type and add them to the sitemap XML)
- Custom URLs (URLs of pages which are not managed in Strapi)
- Virtual sitemap (Sitemaps served from the database)
- Cron regeneration (Automatically scheduled cron job for regeneration)
- Sitemap indexes (Paginated sitemap indexes for large URL sets)
- Exclude URLs (Exclude specified URLs from the sitemap)
- CLI (CLI for sitemap generation)
- Styled with XSL (Human readable XML styling)
Read the Getting Started tutorial or follow the steps below:
# using yarn
yarn add webtools-addon-sitemap
# using npm
npm install webtools-addon-sitemap --saveAfter successful installation you have to rebuild the admin UI so it'll include this plugin. To rebuild and restart Strapi run:
# using yarn
yarn build
yarn develop
# using npm
npm run build
npm run developThe Sitemap plugin should now appear in the Webtools section of your Strapi app.
Enjoy 🎉
The full documentation of this plugin can be found on it's dedicated documentation website.
Webtools can be extended by installing addons that hook into the core Webtools functionality. Read more about how addons work and how to install them in the addons documentation.
Feel free to fork and make a pull request of this plugin. All the input is welcome!
Give a star if this project helped you.
- For general help using Strapi, please refer to the official Strapi documentation.
- You can contact me on the Strapi Discord channel.