I use TranslatePress for different languages, RankMath for SEO and WP Rocket for caching. Each page has a hreflang to point to the different languages, and I know that should be sufficient for Google. However, WP Rocket preloads pages from the sitemap. Because RankMath doesn’t include each language in the sitemap, this means that only my main language is cached, and that all other languages are slow loading.
I contacted WP Rocket and they wrote me: “If you want that WP Rocket cache all the languages, you must put on the sitemap all the languages.”
Also several other caching plugins use the sitemap for caching, so it seems to be very handy to have a complete sitemap, including all languages. How can I get a full sitemap with all languages? I know Yoast has this for example, but I would rather stick with Rank Math. Is there maybe a sitemap plugin that fixes this problem? Could Rank Math please ADD this function? When I search I see many people asking for this.
The ticket ‘WP Rocket / Translatepress / RankMath’ is closed to new replies.