Forums

[Plugin: Google XML Sitemaps] Sitemap appears not to be working (6 posts)

  1. wnyrealtor
    Member
    Posted 1 year ago #

    When I open the sitemap I recieve this error message:

    The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML documen...

    Does this mean I do not have a sitemap?

  2. kcargile
    Member
    Posted 1 year ago #

    Not necessarily. It may just be your browser complaining about the format of the XML file. What browser are you using?

  3. wnyrealtor
    Member
    Posted 1 year ago #

    I have the issue in IE 6, IE 7 And Firefox.

    My site is located at www.buffaloniagararealestatehomesales.com/wnyrealtor

  4. kcargile
    Member
    Posted 1 year ago #

    Ok, I'm seeing the same thing. You may have an invalid XSL document associated with your sitemap file. Not an uncommon issue...

    Login to the admin section of your site. Go to Settings -> XML-Sitemap and look for the "Include an XSL stylesheet" textbox in the advanced options. If there is a value entered here, remove it (the textbox should be empty, this is ok) and then click "Update Options" at the bottom of the screen.

    When the page reloads, click the "rebuild the sitemap" link in the Status section near the top of the page.

    Give it a few minutes to rebuild, and your error should go away.

  5. hellows
    Member
    Posted 1 year ago #

    I have done what you suggested as I was having 'Unsupported file format...' problem in google webmaster.

    But what is now my link to the sitemap file ?

    The Include an XSL stylesheet Box is now empty !

    thanks

  6. kcargile
    Member
    Posted 1 year ago #

    You'll need to check the plugin page to see what filename it's using for the Sitemap file. It's typically something like /sitemap.xml.

    -k

Topic Closed

This topic has been closed to new replies.

About this Topic