WordPress.org

Ready to get started?Download WordPress

Forums

Google XML Sitemaps
Sitemap Failing Google - Sitemap is HTML Error!! (2 posts)

  1. slovenlyjimmy
    Member
    Posted 3 years ago #

    Hi,

    I'm having a problem getting my sitemap recognised by Google. I get the Red Cross and the following error message

    "Sitemap is HTML
    Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead."

    I've checked out my sitemap (http://thegoodgameguide.com/blog/sitemap.xml) and it all looks o.k. to me.

    Does anyone have any idea?

    Many Thanks

    James

  2. webjunk
    Member
    Posted 3 years ago #

    Its because sitemaps are always expected in the root of a domain and yours is not. When it is searched for in the root a 404 page not found is generated which BTW is an HTML page which explains the error you receive.
    You need to create a robots.txt and place it in the root with the following line:

    Sitemap: http://thegoodgameguide.com/blog/sitemap.xml

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic