Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
We checked your sitemap and found that the robots meta of your attachment was set to Noindex and that’s why the sitemap was not working. However, we set the robots meta to index from WP Dashboard > Rank Math > Titles & Meta > Attachments and now it is working properly without any issues:
Hope that helps and please don’t hesitate to let us know if you have any other questions.
Â
Thank you.
Hello,
Can you please extrapolate how / where did you see the ‘no index’ information on the PDF attachements ?
Indeed, i need all attachements to be no-indexed excepted the PDF documents. Do you know how to handle that ?
Thanks
Hello,
The Noindex was set in WP Dashboard > Rank Math > Titles & Meta > Attachments > Media Robots Meta. Please note that if the Media Robots Meta is set to Noindex, the Attachment sitemap will not work.
You’ll have to set the Media Robots Meta to index and after that, you can manually Noindex the image attachment pages to remove them from your sitemap.
Here’s how you can set the pages to Noindex: https://rankmath.com/kb/how-to-noindex-urls/
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.