Issue with Some Sitemap on Search Console

#1057975
  • Resolved Christian Chief
    Rank Math free

    Hello,

    Please, I got an error message on two of my sitemaps(post and page) inside Google Search Console. The post sitemap URL doesn’t even load, but upon download of the file, there seems to be a problem with the HTML on line 87.

    Below are links to screenshots of the error messages.

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

    We apologize for the issue you are facing with your sitemaps in Google Search Console. It sounds like there may be a problem with the configuration of your sitemaps, especially if the post sitemap URL isn’t loading correctly and there’s an HTML issue.

    Here are some steps you can take to troubleshoot and potentially resolve the issue:

    1. Validate Your Sitemap

    Use the Validate XML Sitemap tool to check if your sitemap is correctly configured. Enter your sitemap URL and click VALIDATE SITEMAP. If there are issues, the tool will provide feedback.

    2. Check Sitemap Location

    Ensure that your sitemap is located in the root folder of your WordPress installation. The correct format should be:

    https://yourdomainname.com/sitemap_index.xml`

    3. Ensure Posts Are Set to Index

    If all your posts are set to noindex, your sitemap will be empty. Go to Rank Math SEO → Titles & Meta and ensure that the Index checkbox is enabled for your posts.

    Index Titles and Meta settings

    4. Check for Plugin Conflicts

    Sometimes, other plugins can conflict with Rank Math. You can use the Health Check plugin to identify any conflicts.

    5. Review Robots.txt File

    Make sure that your robots.txt file is not blocking access to your sitemap. You can check this in Rank Math SEO → General Settings → robots.txt.

    If you continue to experience issues after trying these steps, please reply to this ticket with your site URL so we can assist you further. A human agent from our support team will take over and provide more specific guidance based on your situation.

    Thank you for raising this concern! We’re here to help you resolve it.

    Sources:
    Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
    Rank Math Sitemap Issues and Their Fixes » Rank Math

    Already tried these things. Deactivated all plugins except Rankmath and the problem still persisted.

    Here is my site url.

    https://chieflings.com

    Hello,

    The issue is that there are some missing tags at the end of the sitemap.

    In this case, 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.

    Christian Chief
    Rank Math free

    Hello,

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

    Thank you.

    Christian Chief
    Rank Math free

    Hello,

    A temporary login link has been created using method 2. Sensitive data section has been edited also to reflect access information

    Hello,

    The issue was related to the cache. We have added the following filter to the site to disable sitemap cache:

    /**
     * Filter if XML sitemap transient cache is enabled.
     *
     * @param boolean $unsigned Enable cache or not, defaults to true
     */
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    The sitemap is working fine now. Please wait for Google to read it again.

    Please do not hesitate to let us know if you need our assistance with anything else.

    Christian Chief
    Rank Math free

    Issue now resolved. Thanks.

    Hello,

    Glad that everything has been sorted out.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

You must be logged in to reply to this ticket.