Issue with the URLs being generated for images

#901646
  • Resolved Byron Hernandez
    Rank Math free

    I’m experiencing several issues with my site since I changed from Yoast to RankMath.

    One of those is I’m getting a lot of weird image URL’s like this on my sitemap:

    <image:loc>http://||</image:loc>

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

    We apologize for the issue you are facing with the image URLs in your sitemap after switching to Rank Math. The strange URL format you mentioned, such as `<image:loc>https://rankmath.com/kb/fix-sitemap-issues/ typically indicates a problem with how the image URLs are being generated or formatted.

    Here are a few steps you can take to troubleshoot this issue:

    1. Check for Plugin Conflicts: Sometimes, conflicts with other plugins can cause issues with how URLs are generated. You can use the Health Check plugin to identify any potential conflicts.

    2. Flush Sitemap Cache: If you have caching enabled, try flushing the sitemap cache and ensure that the sitemap is excluded from caching plugins. This can help in regenerating the sitemap correctly.

    3. Review Image Settings: Ensure that your images are properly set up in your media library and that there are no issues with their URLs. You may want to re-upload any problematic images.

    4. Check Custom Canonicals: If you have set custom canonical URLs for your posts or images, it might affect how they appear in the sitemap. Make sure that these settings are correct.

    If these steps do not resolve the issue, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for bringing this concern to our attention!

    Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    We have seen this type of issue before with Divi. It happens when you are using the Blurb feature in Divi and using a background image in the Blurb.

    Users have already reported this to Divi but we suggest you notify them as well to move the issue to priority. You can ask them if they have a solution where these background images of blurbs are not included in the sitemaps.

    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.

    However, to fix the issue temporarily, you can disable the “Images in Sitemap” option in Rank Math sitemap settings. See screenshot for your reference:

    Rank Math support

    Hope that helps and please don’t hesitate to let us know if you have any other questions.

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

The ticket ‘Issue with the URLs being generated for images’ is closed to new replies.