attachment-sitemap.xml all 404’s.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Edit: I found there was an “Advanced Mode” on the top right of RankMath dashboard section. Now it added an option for “Attachments” in the “Sitemap Settings” section, and i removed it from the sitemap. However I do not have images in the sitemap? I did select add images to sitemap in the “general Settings”.

    How to get images in the sitemap?
    Also why was attachment sitemap hidden in advanced mode? Should it be on? However all the links it produces are 404. :/

    Thank you


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

The ticket ‘attachment-sitemap.xml all 404’s.’ is closed to new replies.