Facing: Sitemap can be read, but has errors “Invalid URL”

#647715
  • Resolved Anonymous
    Rank Math free

    Hi Sir/Mam,

    I have created sitemap using Rank Math and it was working great, but from last 4 days, I am facing this error in the Google Search Console under the post-sitemap.xml section:

    Sitemap can be read, but has errors

    Invalid URL

    I have tried everything according to the Rank Math articles about this error but nothing is working.

    I have also included an image of the error:

    Image 1: Sitemap error
    Image 2: Post-sitemap error

    Please help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

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

    We’ve checked your site and looks like you’re using a custom canonical for your homepage and that’s why it is not getting included on your sitemap but creating a blank like on your post sitemap.

    In this case, please try to follow the steps below and see if that works for you.

    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/

    3. If the above steps don’t seem to work, kindly apply the following filter to your site.

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    

    Here’s how you can add filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Once done, clear your website cache and resubmit the /sitemap_index.xml in the Search Console.

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    Hi Rakibuzzaman Siam,

    I have followed all the 3 steps exactly you suggested, but nothing has changed. Error is still there:

    Sitemap can be read, but has errors
    Invalid URL

    Please help me, what should I do?

    Hello,

    In this case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    <span style=”text-decoration: underline;”>Please do take a complete backup of your website before sharing the information with us.</span>
    Sensitive Data Section

    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/

    Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Anonymous
    Rank Math free

    Hi Rakibuzzaman Siam,

    I have shared the WordPress login details and you suggested, now waiting for your reply and suggestion.

    Please help!!

    Hello,

    We apologize for the delay, but the ticket was stuck in drafts.

    We would like to check the site but the login credentials in the sensitive data section is no longer working.

    Can you please check on your end and let us know how it goes.

    Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for your patience.

    We’ve tried the login link you have shared, but it is only redirecting to your homepage.

    Could you please check or extend its validity so we can investigate the issue?

    Looking forward to helping 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.

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

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