Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Could you please head over to Rank Math > Titles & Meta > Media > Media Robots Meta and check whether the noindex robots meta is enabled as shown below:
This option needs to be disabled for the attachment sitemap to work as expected.
Looking forward to helping you. Thank you.
Yes settings are the same as in your screenshot.
Hi Wes,
Thanks for getting back to us.
This option need to be disabled, please click on Default button on the Media Robots Meta setting and click save to fix this.
You may also want to perform the following steps:
1. Head over to WordPress Dashboard > Settings > Permalinks
Hit the save button once.
2. Go to WordPress Dashboard > Rank Math > Sitemap Settings
Hit the save button once.
That should fix the issue.
If it doesn’t, please do let us know so we can look at this further.
Hey,
Ok sitemap is loading now… But why the #main tag after all the attachments? Please let me know. Thanks!
Hello,
I am glad that this is now working for you.
This is likely as a result of your permalink settings on the backend. Please review the settings that you have set for the media attachments and also check for any plugins that might be modifying the attachment links on your site.
I hope this info helps. Thank you.
Go it thanks.. Was a theme issue.
Hello,
We are super happy that this resolved your issue. 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/?rate=5#new-post 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.