Hello,
Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.
The URLs of your main language don’t have trailing slashes. Please use the same structure for the URLs on the main site and translated sites to avoid the canonical URL issue.
For the sitemap, your sitemap is returning a 404 error. Please follow these steps:
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp
2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
https://rankmath.com/kb/exclude-sitemaps-from-caching/
Let us know after following the steps so we can check the sitemap. Looking forward to helping you.
Hallo,
Thank you for the quick reply!
I am unable to edit the permlink of the homepage but I’ve inserted a code in the htaccess file to strip all trailing slashes. I’ll update if the canonical issue is resolved π
For the sitemap, I’ve done the steps you’ve shared and the sitemap is working on my end. Appreciate your help to check π
Hello,
I am glad this helped you.
Do let us know how it goes with regards to your htaccess and canonical.
In the meantime, please donβt hesitate to contact us again if you need our assistance with anything else.
Hi Wrong, thanks for your reply! Could you help to check the sitemap issue please? The language variants are missing from the xml sitemap.
Hello,
The sitemap is still not working and returning a 404 error:

Please try flushing the cache again by following the steps mentioned in my previous reply and if the issue persists then please edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.

It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hallo,
Thanks much for checking! The xml sitemap appears down on my end now π I need to seek permission before sharing the creds here.
Appreciate the strong support from Rank Math π I will update again here.
Cheers,
Joanne
Hello,
Let us know when you can share the login access.
Looking forward to helping you.
Thanks.
Hallo, I managed to clear server caching and the xml sitemap shows π Could you check if it works for you? Thanks much and sorry for the trouble.
Hello,
Yes, your sitemap is working fine now. However, to include the translated URLs in the sitemap you will have to use the SEO Pack Add-On of TranslatePress. The URLs will be added to the sitemap as soon as you install the add-on. https://translatepress.com/multilingual-sitemap-wordpress-site/
Also, please make sure to exclude your sitemap from caching otherwise it will keep returning a 404 error from time to time. https://rankmath.com/kb/exclude-sitemaps-from-caching/
Hope this helps.
Please don’t hesitate to get in touch in case you need any other assistance.
Thanks.
Thank you so much!! The xml sitemap is perfect now! π
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.