Sitemap For Media

  • Hi

    How do I enable media in sitemap?

    In the “Include in Sitemap”, i can’t switch it to “ON”

    It says “To generate attachment sitemap disable attachment redirection to parent.” which i don’t have any idea to do it.

    Is it recommended to switch media to “On” in sitemap?

Viewing 1 replies (of 1 total)
  • Hello,

    Please know that the images are already included in your sitemap.

    ​You can open your post or pages sitemap and see the images beside each post’s URL:

    ​The option you are referencing to pertains to the attachment pages. We do not recommend enabling attachments, let alone have a separate sitemap for it. The reason being that attachments cause thin content issues and dilute down your website’s authority.

    ​Here’s an article on the topic:

    ​If you still want to proceed and enable attachments as well as attachment sitemaps, you can do so from WordPress Dashboard > Rank Math > General Settings > Links. Disable the redirect attachments option:

    ​Then, go to WordPress Dashboard > Rank Math > Sitemap Settings > Media and enable the Attachments sitemap.


    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 1 replies (of 1 total)

The ticket ‘Sitemap For Media’ is closed to new replies.