Hello,
Thank you for contacting us and sorry for any inconvenience that this issue might have caused.
Kindly refer to this guide on how to edit your htaccess file using Rank Math: https://rankmath.com/kb/edit-htaccess/
We tested your sitemap and found no issues with it:
Please follow the steps below for initial troubleshooting:
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/
If the issue persists then try disabling the transient cache for the sitemap. This will make sure that your XML sitemap always reflects the latest changes on your site. To do this, you need to add a small piece of code to your site’s functions.php file or use a plugin like Code Snippets.
The code you need to add is this:
/**
* 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');
If you’re not sure how to add this code, you can follow this guide: https://rankmath.com/kb/wordpress-hooks-actions-filters/.
After that remove all the sitemaps in the Google Search Console and only add the main sitemap (/sitemap_index.xml) again.
Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.
Hello,
As a follow-up, we have seen this type of sitemap 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, the only way to fix this issue temporarily is to disable the Images in the Sitemap option in Rank Math sitemap settings.
Hope that helps and please don’t hesitate to let us know if you have any other questions.
Thank 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.