Sitemap Error

#54053
  • Resolved Brendan
    Rank Math free

    Having an issue. Running Astra with a child theme. I am getting an error of XML declaration allowed only at the start of the document. I have checked everywhere suggested in the Knowledge Base. I have no blank lines in the Theme or Child. Please advise as how to address this.

    • This topic was modified 3 years, 11 months ago by Brendan.
Viewing 15 replies - 1 through 15 (of 15 total)
  • Alberto
    Rank Math business

    Hello,

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

    I tried to check the sitemap but my IP (for some reason) was blocked by WordFence. Could you disable temporarily the plugin so I can check it?

    Also, that issue is almost always caused by a white space, so if you didn’t find it, if you want, we could take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    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.

    Hello,

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

    Thank you.

    Alberto
    Rank Math business

    Hello,

    I have been checking it and it seems the problem with the sitemap is some plugin. You got a recovery email in your admin email address. Please check it so we can continue debugging the issue. Once you enable our login again, let us know so I will continue checking it and I will be able to tell you which is the conflicting plugin.

    Looking forward to help you.

    your login is still active. What recovery email are you speaking about? I did not get anything. Also I ran health Check and disabled all plugins but rank math and it still had the issue.

    Hello,

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

    Thank you.

    Any progress on this? I reset the permissions as you asked and replied yesterday. Have not seen any progress and my site is still having the same issue

    Alberto
    Rank Math business

    Hello,

    Sorry, we didn’t see your previous message until now. I have tried to enter in the website with the logins you provided but I am not being able to. I have attached a screencast of what I see in the Sensitive Data section.

    Looking forward to help you.

    Hello,

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

    Thank you.

    Hello,

    Thank you for the info.

    Would you please check your wp-config.php file for a blank line/space. This has also been know to cause this issue.

    Looking forward to helping you. Thank you.

    ​​​​​​

    I have checked the wp-config file and found no blank line. Also, what happened to the other agent who had been “working” on this over the last 3 days?

    Alberto
    Rank Math business

    Hello,

    I was able to found where was the issue. I tried in the troubleshooting mode to disable all the plugins except Rank Math. In that case the sitemap loaded.

    After that, I started enabling one by one every plugin from the top to the bottom. After I enabled each plugin, I checked if the sitemap still loaded without errors.

    When I reached the plugin Custom Silo Filter, the sitemap showed the error.

    So I went to the plugin code commented its code, to determine the place where the error happened, at the end of the file was an invisible character (maybe due to different OS where it was coded) so I removed it.

    After that, I remove the comments and checked again and as you can see on your website, the sitemap is fully working.

    Looking forward to help you.

    Thank you for your assistance. I had begun looking into each plugin this morning but had not gotten to that one yet.

    Alberto
    Rank Math business

    Hello,

    You are welcome, we are here to help you. Do you want I set this thread as solved? We will be here in the future in case you have any other issues or questions.

    Looking forward to help you.

    thanks

    Todd
    Rank Math free

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

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