Unable to access sitemap

  • Hi team,

    All I can see when I try to see my sitemap is this warning:

    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.

    I shared my site privately – Note that the website is running with a default template.

    Any insights?

    Thank you

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

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

    This error suggests that there is some whitespace on your wp-config.php file or your theme’s functions.php file.

    Could you please check if this is the case by opening these files?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Ok, just missed a blank line at the beginning of the wp-config.php

    Thanks for checking!

    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/?rate=5#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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Unable to access sitemap’ is closed to new replies.