error in sitemap xml

Posted: March 11, 2016 at 10:37 AM Quote #163911
Hi,

I found out in webmaster tools that sitemap.xml gives an error on a certain line. This appeares to be following:

  <url>
    <loc />
    <changefreq>weekly</changefreq>
    <lastmod>2016-03-06</lastmod>
  </url>

So in stead of <loc>the URL</loc> there is a <loc />

The rest of XML nodes are correct. It looks like this is a product that breaks things up because only a small number of products are shown in the sitemap and when I set sitemapincludeproducts to false in admin settings, webmaster tools produces no error.

Any idea what might cause this problem ?

Thanks!
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 15, 2016 at 6:59 AM Quote #175324
Did you manage to get to the bottom of this issue? We are having the same problem. Any help would be appreciated.

Mike
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Mike Halford
Posted: September 16, 2016 at 3:49 PM Quote #175415
Hi

I also face the same problem , but when i check some products not have the Search engine friendly page name.

products details > SEO > Search engine friendly page name


Give the name and check again the sitemap. Error will go..............
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 19, 2016 at 10:00 AM Quote #175523
Thanks.

I sorted my problem. I had included Manufacturers in the Sitemap some of which did not have SEO friendly names. These caused the Sitemap to fail.

I have updated them and everything is now OK.

Cheers
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Mike Halford
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.