Error in sitemap

#765953
  • Resolved Francesco Trim
    Rank Math free

    hi, after loading the sitemap in search console it tells me that the sitemap can be read but contains errors: URL:
    http://on|25px|25px|25px|25px
    Line 13
    Main tag: image Tag:loc
    and others of this type, only the line number changes. Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello, we apologize for the issue you are facing with your sitemap in Google Search Console. The error message you provided indicates that there are issues with the URLs in your sitemap, specifically related to the image tag and the loc tag.

    To address this issue, you need to ensure that your sitemap is correctly formatted and does not contain any errors. Here are some steps you can take to fix the problem:

    1. Check Sitemap Format: Make sure your sitemap file is using the correct XML format. Ensure that the namespace in the header ends with 0.9 and that XML attributes are enclosed in straight single or double quotes only.

    2. Validate Sitemap: You can use the Validate XML Sitemap tool to confirm that your sitemap is correctly configured. Enter your sitemap URL into the tool and click VALIDATE SITEMAP.

    3. Fix URL Issues: Review the URLs in your sitemap to ensure they are correctly formatted and do not contain any special characters or errors like the one you mentioned.

    If after following these steps the issue persists, please check the status code of your sitemap using a tool like httpstatus. If the status code is 200, make sure to redirect all XML sitemap variations to the final variation and clear your website cache before resubmitting your sitemap in Google Search Console.

    Thank you for bringing this to our attention, and we hope these steps help resolve the issue with your sitemap. If you need further assistance, feel free to reply here.

    Sources:
    Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
    Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    How to Fix “Incorrect HTTP Header Content-Type” Error in Sitemaps » Rank Math

    Hello,

    Usually, this happens when you are using the Blurb feature in Divi.

    If that’s the case, we recommend that you contact the Divi team and ask them if they have a solution for this where these BG images of blurps are not included in the sitemap.

    The functionality of Rank Math being able to see Divi images and adding them to the sitemap was added by the Divi team and that is why it is recommended that you contact them directly.

    Hope that helps.

    Thank you a lot

    Hello,

    We are super happy that we could address your concern. 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 or TrustPilot 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 4 replies - 1 through 4 (of 4 total)

The ticket ‘Error in sitemap’ is closed to new replies.