Im trying to submit the sitemap i created for my site on google and I get this message: 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). How can i fix it? anyone knows.
Sounds like you've set your account up in Webmaster Tools without "www" and your sitemap entries have "www" for the index. Change your account in Webmaster Tools to have the "www" in the domain name.
In general it is a good idea to solve duplicate URL issues possible. (The "with-www" versus "non-www" is very common.)
Try to redirect the non www to www domain with .htaccess: RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com RewriteRule (.*) http://www.example.com/$1 [R=301,L]
Check if your site opens with "www" or "without www". Then set it to open for either "www" or "without www". Once this is done create your sitemap again with the preference you selected. This will remove the error.