unexpected 404 attachment-sitemap.xml in sitemap index

  • Recently a attachement-sitempa.xml started showing up in my sitemap_index.xml, and it also ends up in 404. I haven’t changed RankMath’s sitemap settings. Not sure what brought that up. How can I fix that?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    This is quite unexpected. Could you please head over to Rank Math > Sitemap Settings > Media and ensure that the option to include in sitemap has been disabled. You can then do the following:

    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.

    Hi,

    I tried the instructed steps, the problem remains.

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    Temporary Login Without Password

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    WP Security Audit Log

    We really look forward to helping you.

    I updated RankMath plugin to the latest just now, and the issue is gone 🙂

    Hi Shawn,

    Thanks for the follow up.

    I am glad that this is now resolved 🙂

    Feel free to contact us should any other issues come up. Thank you.

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

The ticket ‘unexpected 404 attachment-sitemap.xml in sitemap index’ is closed to new replies.