More Premium Hugo Themes Premium React Themes

Strapi Plugin Sitemap

Generate a highly customizable sitemap XML in Strapi CMS

Strapi Plugin Sitemap

Generate a highly customizable sitemap XML in Strapi CMS

Author Avatar Theme by pluginpal
Github Stars Github Stars: 264
Last Commit Last Commit: Apr 13, 2025 -
First Commit Created: Mar 24, 2024 -
default image

Overview

The Sitemap plugin for Strapi offers a variety of features to enhance the management and generation of sitemaps on your website, from multilingual support to dynamic paths. This plugin provides a user-friendly interface for adding URLs to the sitemap and allows for customization through URL bundles and custom URLs. With support for different Strapi versions and a CLI for sitemap generation, the Sitemap plugin simplifies the process of creating and maintaining sitemaps.

Features

  • Multilingual: Implements rel=“alternate” with @strapi/plugin-i18n.
  • URL Bundles: Bundle URLs by type and add them to the sitemap XML.
  • Dynamic Paths: Implements URL patterns for injecting dynamic fields.
  • Virtual Sitemap: Sitemaps served directly from the database.
  • Cron Regeneration: Automatically scheduled cron job for sitemap regeneration.
  • Sitemap Indexes: Paginated sitemap indexes for large URL sets.
  • Exclude URLs: Ability to exclude specified URLs from the sitemap.
  • Custom URLs: Add URLs to the sitemap that are not managed in Strapi.
  • CLI: Command Line Interface for sitemap generation.
  • Styled with XSL: Human-readable XML styling.

Installation

To install the Sitemap plugin in your Strapi project, follow these steps:

  1. Install the plugin in your Strapi project.
    npm install strapi-plugin-sitemap
    
  2. Rebuild the admin UI to include the plugin.
    strapi build
    
  3. Restart Strapi.
    strapi develop
    
  4. The Sitemap plugin should now appear in the Settings section of your Strapi app.

Summary

The Sitemap plugin for Strapi is a powerful tool that simplifies the management of sitemaps for websites. With features like multilingual support, dynamic paths, and virtual sitemaps, this plugin offers a user-friendly interface for adding and customizing URLs in the sitemap. By supporting different Strapi versions and providing a CLI for sitemap generation, the Sitemap plugin streamlines the process of creating and maintaining sitemaps for websites.