Hi Richard,
Thanks for getting in touch.
Could you please check the following:
1. Is the sitemap working fine in your browser? You can check that by going domain(.)com/sitemap_index.xml
If the sitemap is working fine, you can try validating it on this link: https://www.xml-sitemaps.com/validate-xml-sitemap.html
If the validation works, please move to the second point.
2. Have you verified the correct version of your website on Google? Please check if you have verified the www (or non-www) and https (or http) version of your website. If there is a mismatch, please fix that.
3. Finally, make sure you have cleared the cache and excluded Google bot from seeing a cached version of your sitemap.
If you have followed these and you are able to view your sitemap without any problem, then Rank Math is outputting your sitemap correctly and the error must be coming from Google. You can try and use a 3rd party sitemap plugin to confirm. Just make sure you have disabled the Sitemap module of Rank Math in WordPress Dashboard > Rank Math > Dashboard
when using a 3rd party sitemap plugin.
If the other plugin works, please do let us know.
Thank you.
Hello,
the sitemap now works, however I have a trailing slashes error:
https://investfirst.de/mainz
https://investfirst.de/mainz/
There is no forced version. Is it possible to force this https://investfirst.de/mainz/ as the main version?
Hi Richard,
We are extremely sorry about this and for the late response. Your reply was stuck in spam due to the use of links in your reply.
The sitemap links seem to be working fine with a slash added just like you have on your website.
What’s the issue?
Hey I am having this same issue with my woocommerce products. I was having it for all my pages but uninstalled and reinstalled the plugin and now it is just doing it for my products.So now I am getting “incorrect pages found in sitemap” Getting pretty frustrated because I have been working on this for the last week.
The website doesn’t force URLs with missing slash to redirect to the URL version with a slash:
https://investfirst.de/mainz should redirect to https://investfirst.de/mainz/
The same happens for all URLs.
Can you please let me know how I can bulk redirect all urls to force the trailing slash?
Hi Richard & Claire,
Apologies for the inconvenience caused.
I am afraid that the plugin does not have a feature to force redirects to the trailing slashed versions of the URLs.
I can suggest that you reach out to your host so that they can help in adding .htaccess redirects to force all the URLs to be redirected to the right versions.
I hope this info helps. Thank you.
Hello,
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.