rank math site map error

#582027
  • Resolved Anonymous
    Rank Math free

    please when i open my rank math sitemap it shows that the is an error

Viewing 6 replies - 1 through 6 (of 6 total)
  • Anonymous
    Rank Math free

    please when i open my rank math sitemap it shows that the is an error

    Hello,

    Thank you for contacting Rank Math support.

    We’re sorry to hear that you’re having an issue with your sitemap. Can you please provide us with more details about the error you’re seeing? What is the exact error message and where do you see it? Is it on your site or on Google Search Console?

    It would also help us if you could share your site URL and a screenshot of the error. This will help us diagnose the problem and provide you with a solution.

    Please reply to this ticket with the requested information and we’ll get back to you as soon as possible.

    Thank you for your cooperation and patience.

    Anonymous
    Rank Math free

    that is what it says when i open the sitemap

    This page contains the following errors:
    error on line 1 at column 562: XML declaration allowed only at the start of the document
    Below is a rendering of the page up to the first error.

    Hello,

    This sitemap error indicates that there must be some white space before the XML Sitemap’s source code. You can also look at the source code of your Sitemap and see if there is an extra line before the XML.

    This is usually caused by a blank line or space in your wp-config.php or functions.php file.

    It is also very much possible that your sitemap’s xml tag is missing which might be creating a blank line.

    Please follow this troubleshooting guide to fix that issue:
    https://rankmath.com/kb/fix-sitemap-issues/#xml-text-declaration

    If you don’t have any issues in your wp-config.php or functions.php file then assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well:

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue persists, please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    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

    that is what it says when i open the sitemap

    This page contains the following errors:
    error on line 1 at column 562: XML declaration allowed only at the start of the document
    Below is a rendering of the page up to the first error.

    Hello,

    It seems that you have accidentally sent your previous reply.

    Let us know how this goes after following the steps mentioned by my colleague above.

    Looking forward to helping you.

    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.

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

The ticket ‘rank math site map error’ is closed to new replies.