Hello,
Thank you for contacting Rank Math, and sorry for any inconvenience caused.
Please head over to Rank Math > Titles & Meta > Attachments > Enable Media Robots Meta > Check index checkbox.
Once done, flush the Sitemap cache by following this video screencast and check the sitemap:
https://i.rankmath.com/pipRDp
Hope this helps.
Don’t hesitate to get in touch if you have any other questions.
Hello Anas,
Thank you for your quick answer.
Actually the index checkbox in Rank Math > Titles & Meta > Attachments > Enable Media Robots Meta is already checked.
And my Litespeed cache is not even activated.
Do yo know another reason who could explain why this sitemap page cannot be loaded ? https://bikes-academy.fr/attachment-sitemap.xml
Hello,
Please try adding this filter to your active theme’s functions.php file:
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
If the issue still persists, 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.

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.
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.