WP Rocket / Translatepress / RankMath

  • Dear support,

    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.

    Kind regards,


    • This topic was modified 5 months ago by Gerson.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have passed this on to our dev team and we will be getting back to you in a short while to discuss this further.

    Looking forward to helping you. Thank you.


    Great, looking forward to have full caching on my website, in all languages.

    Kind regards

    Hi Gerson,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    You must contact TranslatePress and ask them to create a similar module for Rank Math that they created for Yoast:

    Your translated URLs will be included in the sitemap afterward and this issue will cease to exist.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    I asked TranslatePress, and this is their reply:

    We have support just of Yoast SEO Sitemaps.

    Every sitemap plugin generates their sitemap in a particular way, thus we need to add individual support for each sitemap plugin. It’s a requested feature, and we count it, but we don’t have a timeframe for it.
    You can use Rank Math plugin for sure, but our SEO Pack Add-on adds support for Yoast SEO Sitemaps so they correctly represent each individual translation.

    Thank you for understanding.

    Kind Regards,

    So, from pillar to post…


    We are extremely sorry about and I can understand the situation you are in.

    Is there any particular reason for using TranslatePress? You can use WMPL, one of the most popular multi-language plugins and it works great with Rank Math.

    Although, I can understand the same argument can be made for using TranslatePress + Yoast.

    So, it is upto you to decide which combination you like better 🙂

    Of course, we would love it if you choose us but we can also understand if you don’t want to due to this pending issue with TranslatePress.

    Thank you.

    I used WPML as well in the past (even have a full license) but TranslatePress is much faster to setup. Like 10 times faster. Much handier with automatic translations. Also the loading time seems to be better.

    WPML is a bit like 2014, TranslatePress is 2020.

    TranslatePress has some negative points as well, but it clearly wins.

    Hi Gerson,

    Thank you for the reply.

    I can see what you mean 🙂

    If it is an option, you could seek the services of a freelance dev to create a custom glue addon for your site to fix the compatibility between Translatepress and Rank Math.

    I hope this info helps.


    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

The ticket ‘WP Rocket / Translatepress / RankMath’ is closed to new replies.