1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Google Webmaster Tools - Sitemap Help Please

Discussion in 'White Hat SEO' started by Gimme.The.Loot, Oct 12, 2010.

  1. Gimme.The.Loot

    Gimme.The.Loot Regular Member

    Joined:
    Feb 19, 2010
    Messages:
    307
    Likes Received:
    118
    Occupation:
    Original Gangster
    Location:
    Deep Web
    Hey Gang,
    I have a wordpress blog on my hostgator hosting, which uses "XML Sitemap Generator for WordPress 3.2.4" plugin to build and keep my xml sitemap updated.
    The plugin site is here:
    Code:
    http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/
    Today I decided to add the site to my Google Webmaster Tools account; verify ownership, and specify the sitemap.

    Google Webmaster Tools is giving an error for my sitemap:
    Code:
    Paths don't match
    We've detected that you submitted your Sitemap using a URL path that includes the www prefix (for instance, http://www.example.com/sitemap.xml). However, the URLs listed inside your Sitemap don't use the www prefix (for instance, http://example.com/myfile.htm).
    My links do not include the "www." prefix; though it seems google webmaster tools is expecting it to.

    I tried using a rewrite in the .htaccess to add the www. prefix; but it did not work out, and I had to remove that change from the .htaccess file.

    How would you guys suggest I approach this issue? I don't want to lose any juice because Big G thinks my sitemap isn't right.

    Thanks!
     
  2. speakeasy602

    speakeasy602 Junior Member

    Joined:
    Aug 4, 2009
    Messages:
    126
    Likes Received:
    39
    you should only be giving the the public link to your sitemap. Like this: yoursite.com/sitemap.xml
    Posted via Mobile Device
     
  3. Gimme.The.Loot

    Gimme.The.Loot Regular Member

    Joined:
    Feb 19, 2010
    Messages:
    307
    Likes Received:
    118
    Occupation:
    Original Gangster
    Location:
    Deep Web
    I am... the xml file is in the root of my domain, so in webmaster tools, i simply specified /sitemap.xml
     
  4. Gimme.The.Loot

    Gimme.The.Loot Regular Member

    Joined:
    Feb 19, 2010
    Messages:
    307
    Likes Received:
    118
    Occupation:
    Original Gangster
    Location:
    Deep Web
    RESOLVED:
    I was able to fix the issue by changing the preferred domain within webmaster tools to display URLs without the www, resubmitted my sitemap; and, my red X is now a green check mark :34: