Support » Plugin: Yoast SEO: Search Index Purge » attachment-sitemap.xml appears twice

  • Resolved bayviewken

    (@bayviewken)


    In case this helps anyone…

    If you have set Media to appear in search index (before installing the Purge plugin), then when you activate the Purge plugin, your sitemap.xml will include two references to attachment-sitemap.xml.

    I fixed it by deactivating the Purge plugin, then setting Media to No, and reactivating the Purge plugin. Now I have only one attachment-sitemap.xml.

    I’m sure I didn’t want Media included in my sitemap originally, and the fact that it was enabled is probably a result of the original Yoast SEO bug. I was pretty badly crushed by this bug, since the original bug caused my indexed page count to quadruple, with 75% being worthless thin content.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I had the same problem. It’s solved with your workaround, thanks for sharing.

    Plugin Support Patrick Kuijpers

    (@awesomesaurus)

    Hi,

    Thank you for providing a workaround for the duplicate attachment sitemap issue. I am happy that you were able to solve the issue.

    I have added this info to our original issue about this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘attachment-sitemap.xml appears twice’ is closed to new replies.