ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Site-map Google diagnostic errors.

July 20, 2007 9:54am

Subscribe [1]
  • #1 / Jul 20, 2007 9:54am

    laurentsj

    23 posts

    Google Webmaster is giving me this error diagsnostic message:

    Sitemap errors for <a href="http://www.websemantique.com/sitemap.xml">http://www.websemantique.com/sitemap.xml</a>
    
    This Sitemap has the following errors.
    Errors
    Line:
     42
     URL not allowed
    This url is not allowed for a Sitemap at this location. [?]  URL:
    Date found:  <a href="http://www.websemantique.comcategory/uncategorized/">http://www.websemantique.comcategory/uncategorized/</a>
    Jul 20, 2007
    Line:
     49
     URL not allowed
    This url is not allowed for a Sitemap at this location. [?]  URL:
    Date found:  <a href="http://www.websemantique.comcategory/references/">http://www.websemantique.comcategory/references/</a>
    Jul 20, 2007
    Line:
     56
     URL not allowed
    This url is not allowed for a Sitemap at this location. [?]  URL:
    Date found:  <a href="http://www.websemantique.comcategory/presse-anglophone/">http://www.websemantique.comcategory/presse-anglophone/</a>
    Jul 20, 2007
    Line:
     63
     URL not allowed
    This url is not allowed for a Sitemap at this location. [?]  URL:
    Date found:  <a href="http://www.websemantique.comcategory/web-semantique/">http://www.websemantique.comcategory/web-semantique/</a>
    Jul 20, 2007
    Line:
     70
     URL not allowed
    This url is not allowed for a Sitemap at this location. [?]  URL:
    Date found:  <a href="http://www.websemantique.com2007/03/">http://www.websemantique.com2007/03/</a>
    Jul 20, 2007

    THis is the sitemap.xml template i have on the site: (must have some dash missing… where ?)

    <?xml version="1.0" encoding="UTF-8"?>
    <urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
    <url>
    <loc>{homepage}</loc>
    <lastmod>{exp:stats}{last_entry_date format="%Y-%m-%d;T;%H:%i:%s%Q"}{/exp:stats}</lastmod>
    <changefreq>always</changefreq>
    1.0</priority>
    </url>
    {exp:navigator group="1"}
    {exp:weblog:entries weblog="{nav_properties}" disable="categories|custom_fields|member_data|pagination|trackbacks" rdf="off" dynamic="off" status="Featured"}
    <url>
    <loc>{title_permalink="{nav_properties}/article"}</loc>
    <lastmod>{gmt_edit_date format='%Y-%m-%d;T;%H:%i:%s%Q'}</lastmod>
    <changefreq>weekly</changefreq>
    0.8</priority>
    </url>
    {/exp:weblog:entries}
    {/exp:navigator}
    {exp:navigator group="1"}
    {exp:weblog:entries weblog="{nav_properties}" limit="500" disable="categories|custom_fields|member_data|pagination|trackbacks" rdf="off" dynamic="off" status="Open"}
    <url>
    <loc>{title_permalink="{nav_properties}/article"}</loc>
    <lastmod>{gmt_edit_date format='%Y-%m-%d;T;%H:%i:%s%Q'}</lastmod>
    <changefreq>monthly</changefreq>
    0.5</priority>
    </url>
    {/exp:weblog:entries}
    {/exp:navigator}
    </urlset>

    [Mod Edit: Split to the how-to forum as it is more appropriate]

  • #2 / Sep 13, 2007 11:47am

    ruraldreams

    279 posts

    Did you resolve this?  I am getting the same errors with the following explanation:

    URL not allowed

    Google has detected some URLs that appear to be at a higher level or different domain than the Sitemap file location. If you receive this error, try moving your Sitemap file to a higher location in your site and submitting again. For instance, if your Sitemap is listed under http://www.example.com/mysite/sitemap.xml, the following URLs are not valid for that sitemap

      * http://www.example.com/ - it’s at a higher level than the Sitemap
      * http://www.example.com/yoursite/ - it’s in a directory parallel to the Sitemap

    You should also check that the urls all begin with the same domain as your Sitemap location. For instance, if your sitemap is listed under http://www.example.com/sitemap.xml, the following URLs are not valid for that sitemap:

      * http://www.google.com - it’s in the google.com domain rather than the example.com domain
      * http://example.com/ - it’s missing the initial www
      * http://www.example.com/ - it’s missing the protocol (http)
      * https://www.example.com/ - it’s using a different protocol (https rather than http)

    Any URLs in the Sitemap that are not denied are processed normally.

    It’s the first point that my urls are not abiding by, but I don’t understand this restriction at all - and I have submitted a sitemap in the past and don’t recall having this trouble.

    How would I get my sitemap at a “higher level” than my home page?

    The other strange thing is that it is only returning 10 errors - and all of my urls would be structurally the same - unless the error reporting stops at 10.

  • #3 / Sep 13, 2007 12:01pm

    ruraldreams

    279 posts

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases