-
I use the Nginx server and rankmath asked me to add the rewrite code to my config file, and I did.
First issue: Rankmath has not been generating a complete URL sitemap. For example: xyz.com is my site.
The generated sitemap should be:
https://xyz.com/post-sitemap.xml
https://xyz.com/how-to-create-a-website/but the generated sitemap is:
/post-sitemap.xml
/how-to-create-a-website/
/page-sitemap.xml
/category-sitemap.xmlThis caused issues in GSC: “Sitemap can be read, but has errors. Invalid URL.
This is not a valid URL. Please correct it and resubmit.”This also causes issues in instant indexing: Every time I have to go to the post to copy the full URL and upload it in rank math instant indexing to request for indexing.
Second Major Issue
I have seen a pattern of finding 404 errors on my sitemap URL. It has happened 3 times in a month which I guess has been the reason for the loss of metadata, excerpts, and featured images.At this time I have made sure completely that the rewrite files have been in the correct place, Cloudflare does not cache my sitemap, and LiteSpeed cache has been exempted to cache my sitemap.
The ticket ‘Sitemap can be read, but has errors. Invalid URL’ is closed to new replies.