XML Sitemaps Generator

Author Topic: WWW or not  (Read 11529 times)

majmun

  • Approved member
  • *
  • Posts: 1
WWW or not
« on: July 13, 2010, 06:47:07 PM »
Hi,
I read that lots of people are having similar problem but still couldn't fix my own.
I entered my site with www in the sitemap generator and when I check the generated sitemap it has www in it - example below in brackets

(<?xml version="1.0" encoding="UTF-8"?>
<urlset
      xmlns="[external links are visible to admins only]"
      xmlns:xsi="[external links are visible to admins only]"
      xsi:schemaLocation="[external links are visible to admins only]
            [external links are visible to admins only]">
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->

<url>
  <loc>[external links are visible to admins only]</loc>
  <lastmod>2009-08-01T22:31:36+00:00</lastmod>
</url>
<url>
  <loc>[external links are visible to admins only]</loc>
  <lastmod>2009-07-27T20:16:10+00:00</lastmod>
</url>
<url>
  <loc>[external links are visible to admins only]</loc>
  <lastmod>2009-07-27T20:16:10+00:00</lastmod>
</url>
<url>)

This is what I get from Google
We've detected that you submitted your Sitemap using a URL path that includes the www prefix (for instance, [external links are visible to admins only]). However, the URLs listed inside your Sitemap don't use the www prefix (for instance, [external links are visible to admins only]).

So howcome it says that the URLs listed inside my Sitemap don't use the WWW if it actually does say WWW (example above in brackets}

Am I crazy?

I appreciate any help, I wish I was a bit cleverer!

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10622
Re: WWW or not
« Reply #1 on: July 14, 2010, 03:49:21 PM »
Hello,

in case if you create sitemap with starting URL www.domain.com, then you must create site entry in webmaster account with the same URL, i.e. www.domain.com.
and vice versa - in case if sitemap is created fo rnon-www domain, then site entry in google should be no-www too.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2