Attachement sitemap

#894825
  • Resolved agencebluekat
    Rank Math pro
    Content AI Starter Trial

    Hello,

    I have a bug in the attachment sitemap generation.
    https://www.centreresis.org/attachment-sitemap1.xml
    https://www.centreresis.org/attachment-sitemap2.xml

    I turned off the setting General setting > Links > “redirect attachement” and selected the attachement sitemap generation, but the sitemap is not activated properly.

    One further question for you : in the media library i have dozens of PDF documents (which i need to be indexed) and plenty of images (which i dont need them to be indexed), which setting to use in order to index the documents but not the images ?

    Many thanks for your support,

    Sébastien

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    agencebluekat
    Rank Math pro
    Content AI Starter Trial

    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.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Attachement sitemap’ is closed to new replies.