Sitemap can be read, but has errors. Invalid URL

#644077
  • Resolved Anonymous
    Rank Math free

    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.xml

    This 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.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math support and we apologize for the inconvenience.

    Looks like your website might be down but please follow the steps in this screencast to regenerate your sitemap. If that does not help, then please share access to your website so we can help take a look for you. Follow these steps:

    • Edit the first post on this ticket and include your WordPress and FTP logins in the Sensitive Data section. This is a secure section that only our support staff can access.
    • Make sure you take a complete backup of your website before sharing the information with us.
    • If you prefer, you can use this 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 also use this plugin to monitor what changes our staff might make on your website (if any): https://wordpress.org/plugins/wp-security-audit-log/

    We appreciate your cooperation and patience. Thank you for choosing Rank Math.

    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.

Viewing 1 replies (of 1 total)

The ticket ‘Sitemap can be read, but has errors. Invalid URL’ is closed to new replies.