-
Loom to explain : https://www.loom.com/share/ff1a7713a0074a5bab748ef65026af54
Hello,
I’m experiencing an issue with my multilingual sitemap where Rank Math is mixing French and English URLs in the same sitemap. Here are the details:
Current setup:WordPress with Polylang for multilingual management
Rank Math SEO for sitemap generation
Using language prefix in URLs (/fr/ for French, /en/ for English)Issue:
The sitemap at sitemap_index.xml displays both French and English URLs mixed together instead of separating them by language. For example, it shows:ice-bath-chiller.com/fr/bienfaits-bain-froid-quotidien/
ice-bath-chiller.com/cold-bath-contraindications-medical-checklist/
ice-bath-chiller.com/fr/bienfaits-physiologiques-ice-bath/What I’ve already tried:
Added the recommended compatibility files:
rank-math-ppl.php
rank-math.php in my theme folderCleared Rank Math cache
Regenerated sitemaps
Updated .htaccess
The ticket ‘I want to have separate sitemap foreach language i use polylang’ is closed to new replies.