1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

SiteMap Error : URL not allowed at this location

Discussion in 'Google Sitemaps' started by rahulshukl, May 18, 2006.

  1. #1
    I have been using Google site map since last 2/3 months.
    In the month of April, completed feeding for about 100 sites.
    For all of these sites, getting Site Map error.
    SEMrush
    Error :
    URL not allowed (Line 7) with URL http://www.andy-schwartz.com/articles.htm This url is not allowed for a Sitemap at this location. http://www.google.com/support/webmasters/bin/answer.py?answer=35143&hl=en

    I compared sitemap.xml.gz file with earlier sitemap.xml.gz files which are working fine. There is no difference between them.

    Even on resubmitting the sitemap feed, I am getting the same error.

    Please let me know what can the cause of it.
     
    rahulshukl, May 18, 2006 IP
    SEMrush
  2. hubel

    hubel Grunt

    Messages:
    382
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    168
    #2
    Have you submitted your sitemap as http://andy-schwartz.com/sitemap.xml or http://www.andy-schwartz.com/sitemap.xml?

    If you have submitted your sitemap without the www then the url you posted is invalid as Google sees them as 2 sites.
     
    hubel, May 18, 2006 IP
  3. MaxPowers

    MaxPowers Peon

    Messages:
    261
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have seen this when a site uses 301 redirects... in the past it was because of the www. on a non-www. domain name. The URL may work in yuor browser, but you'd have to look at the HTTP status code to get more info. Your main URL from above sends a 200 which should be good. as long as it was submitted using the www. version of your site, the URLs within your sitemap appear to be good.

    It would also show up if you have the sitemap in a folder while listing URLs from outside the folder, but that doesn't appear to be your case, based on the URL above.

    Since it is nailing your first URL (line 7), I am leaning toward the www. versus non-www. issue
     
    MaxPowers, May 18, 2006 IP