WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] Google Says Sitemap is not XML (8 posts)

  1. webcomx
    Member
    Posted 1 year ago #

    Hi,

    When I add the sitemap to Google Webmaster Tools, it says that /blog/sitemap_index.xml is a html file and will not accept the link as a valid sitemap.

    Anyone know whats wrong here? Thanks in Advance

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. webcomx
    Member
    Posted 1 year ago #

    Found out the actual error, the category sitemap that is listed in the main sitemap does no exist so is defaulting to a 404 page. Does anybody know why the Yoast plugin in causing the category sitemap to fail?

  3. Joost de Valk
    Member
    Plugin Author

    Posted 1 year ago #

    Do you have strip category base on, by any chance?

  4. zolder
    Member
    Posted 1 year ago #

    same issue for me
    and yes "strip category base" is on

    Please advise.
    Z.

  5. webcomx
    Member
    Posted 1 year ago #

    Yes, Strip Category is on

    My sitemap is back now although I cannot see all my categories in it even though I have selected Index for each category, (Zolder, try visiting the setup page for categories and ensure that auto detect is set to index), maybe because there are no articles in those categories yet that its not in the sitemap?

  6. zolder
    Member
    Posted 1 year ago #

    Yes. It works now.
    In the Category BO, I set up the last two "Yoast" fields in
    - always index
    - always include in the sitemap

    thank you

    Z.

  7. Joost de Valk
    Member
    Plugin Author

    Posted 1 year ago #

    Try the development version for that last bit:

    You can download the development version from here, or you can download it directly here.

  8. webcomx
    Member
    Posted 1 year ago #

    Thanks for all the help

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic