can’t open sitemap after changing from yoast

#310078
Viewing 11 replies - 1 through 11 (of 11 total)
  • Jason
    Rank Math free
    Jason
    Rank Math free

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

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    The error on your sitemap page suggests there must be some white spaces before the XML Sitemap’s source code.

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

    I hope this helps.

    Looking forward to helping you.

    Jason
    Rank Math free

    But I still understand how to slove According to your article
    Before The sitemap is ok but I change yoast to RankMath, It cause this problem.
    can you help us?
    I can give you the admin password

    Hello,

    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.

    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/

    We really look forward to helping you.

    Jason
    Rank Math free

    I can’t find the sitemap file in folder

    https://prnt.sc/231ou4u

    Hello,

    The sitemap is generated dynamically so there will be no physical file in your site’s root directory.

    Please share the login details so we can fix the issue with your sitemap.

    Looking forward to helping you.

    Thanks.

    Jason
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    I was able to check that there were some empty lines in your theme’s functions.php file. I have removed them and your sitemap is working fine now.

    Please check and let us know if you need any other assistance.

    Thanks.

    Jason
    Rank Math free

    Thank you so much!
    By the way!
    If I modify the page information, how do I set it up for Google to include it again?

    Hello,

    Google automatically crawls your site. So you just need to wait for Google to crawl your URLs again and identify the changes that you have made.

    Hope this clarifies your doubts. Let us know if you need any other assistance.

    Thanks.

    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 11 replies - 1 through 11 (of 11 total)

The ticket ‘can’t open sitemap after changing from yoast’ is closed to new replies.