Sitemap error

#663212
  • Resolved Anonymous
    Rank Math free

    Hello,

    your rankmath plugin fails in generating the sitemap:
    https://mistresskym.com/sitemap_index.xml

    Threw the error “rankmath sitemap xml parsing error XML or text declaration not at start of entity” and I tried to follow what’s in here:
    https://support.rankmath.com/ticket/xml-parsing-error-3/
    and
    https://rankmath.com/kb/fix-sitemap-issues/#xml-text-declaration
    but my wp-config and functions.php are FULL of empty rows… that’s normal to keep the code organized. I don’t want to get rid of all lines/rows spaces, that’s non sense cause I will understand a thing about the code in there anymore!!
    So it’s not a wise advice to give.

    Anyway, recently the sitemap error changed into “Error loading stylesheet: Parsing an XSLT stylesheet failed.”

    And apparently there is no solution to that error in your KB… would you help me with this error?

    Thanks
    kind regards

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

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and for any inconvenience this issue may have caused you.

    We’ve checked your sitemaps, but they seem to be working fine.

    For troubleshooting, please follow the steps to flush the sitemap cache (if not yet):

    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    Once done, remove all your submitted sitemaps and resubmit your main sitemap only to your Google Search Console account:
    https://rankmath.com/kb/submit-sitemap-to-google/

    Hope that helps.

    Thank you.

    Anonymous
    Rank Math free

    thanks, yes indeed, I don’t know why, but the problem solved by itself.
    But I applied the 3 advices you gave me anyway
    thanks a lot

    Hello,

    Glad that helped.

    If you have any other concerns, please don’t hesitate to contact us anytime to assist you further.

    Looking forward to helping you.

    Thank you.

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

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