Serves one Rank Math XML sitemap per Polylang language in directory mode with hide_default enabled.
- WordPress 6.5+
- PHP 8.1+
- Rank Math SEO
- Polylang or Polylang Pro in directory mode (
force_lang0 or 1) withhide_defaultenabled
Multi-domain Polylang setups (force_lang > 1) are left to Rank Math native behaviour.
Copy the plugin folder to wp-content/plugins/, run composer install --no-dev inside the plugin directory, then activate it from the Plugins screen.
When the package is published on composer.beapi.fr:
composer require beapi/rankmath-sitemaps-for-polylang:1.1.0Ensure Rank Math and Polylang are active before relying on sitemap URLs.
composer install
composer cs
composer testSee DEPLOYMENT.md for the release workflow (private Satis package).
GPL-2.0-or-later. See LICENSE.