Sitemap error

#606846
  • Resolved Anonymous
    Rank Math free

    Hi

    After i update the rank math plugin the sitemap not loading , Its giving below error

    This page contains the following errors:
    error on line 3 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.

    Please help me to solve this issue

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

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

    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 Sitemap and see if there is an extra line before the XML. This is caused by a blank line or space in your wp-config.php or functions.php file.

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

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

    Thank you.

    Anonymous
    Rank Math free

    Non of them help, can you fix it ?

    Hello,

    Can you please share your sitemap URL with us so that we can check the issue further for you?

    However, if the above steps don’t work for you then you can try to follow this guideline to fix this:
    https://wejn.org/stuff/wejnswpwhitespacefix.php.html

    Once done, please try to clear the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

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

    Thank you.

    Anonymous
    Rank Math free

    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.

    Anonymous
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    The username or password you shared is not currently working. We can’t log in to your WP dashboard to debug the issue with your sitemap.

    Can you please verify?

    Looking forward to helping you.

    Anonymous
    Rank Math free

    WP login link below. i gave credential working fine

    https://www.dr.qa/wp-login.php?loggedout=true&wp_lang=en_US

    Hello,

    It seems that you’re currently using the Rank Math PRO plugin, but the account you have used to open this ticket is the Rank Math free version.

    Can you please search and forward a receipt from FastSpring.com so we can locate your account and verify it?

    We logged in to your site using the provided access details in the sensitive data section of this ticket.

    Upon Investigating we could see that this is caused by 2 blank lines in your wp-config.php file.

    screenshot

    We tried to login to your FTP but that fails, we request you to kindly provide the host and port details for successful FTP login.

    Once we are able to login using FTP we will be able to edit the file and remove the blank lines.

    We really look forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    Hi

    I didn’t receive any email receipt but i have SMS that receive when using the bank card . SMS was received on 19 Jan 2023 10.07 AM Qatar time 59 USD.

    I remove those empty lines and follow below link to clean cache but still same.

    https://i.rankmath.com/pipRDp

    Hello,

    Please share the full details of your FTP logins (host and port) so that we can check the issue further for you.

    Regarding the Rank Math PRO plugin, you can share the email address you used to purchase the plugin so we can locate your PRO account.

    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

    Hi

    FTP details changed , now ftp working

    Hello,

    The FTP access you have shared is showing an empty directory for your site’s folder and the changes made directly to the files in the public_html folder are not being applied to the site.

    Please share access to your site’s directory so we can fix the issue.

    Looking forward to helping you.

    Anonymous
    Rank Math free

    Hi

    Please check now

Viewing 15 replies - 1 through 15 (of 18 total)

The ticket ‘Sitemap error’ is closed to new replies.