Sitemaps not working

#743966
  • Resolved Lindsey
    Rank Math free

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

    summercoastrealty.com

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

    I’m sorry to hear that you are facing issues with your sitemap on summercoastrealty.com. The error message you provided indicates an XML declaration error at line 5, column 6, stating that the XML declaration is allowed only at the start of the document.

    This error typically occurs when there are white spaces or characters before the XML declaration in the sitemap file. To resolve this issue, you need to ensure that there are no blank spaces or lines before the XML declaration in your sitemap file.

    If you are using Rank Math for your sitemap, you can follow these steps to troubleshoot the issue:

    1. Check your wp-config.php file and theme’s functions.php file for any blank spaces before the XML declaration.
    2. Use the Health Check plugin to detect any conflicts caused by other plugins.
    3. Disable caching temporarily as it might interfere with the sitemap functionality.

    If the issue persists after checking these steps, please let us know, and we will assist you further. Thank you for bringing this to our attention.

    Sources:
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    How to Fix “Incorrect HTTP Header Content-Type” Error in Sitemaps » Rank Math
    How To Exclude Rank Math Sitemaps from Caching » Rank Math

    Also
    on the Redirects page, there is the following notice

    Redirections Add New Export Options Learn More Settings
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Hello,

    Thank you for your patience.

    You must have received an email from WordPress with the details about the error. Please share it with us here so we can check.

    If you haven’t received the email with the error code, you can follow this guide to enable debugging in WordPress
    https://wordpress.org/support/article/debugging-in-wordpress/ or you can get in touch with your web host, and they will help you locate the log file.

    Having an error log will help us determine what is causing the critical error on the redirection page.

    Looking forward to helping you.

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

The ticket ‘Sitemaps not working’ is closed to new replies.