Jump to content

XML Parsing Error: no element found


Recommended Posts

By default, it should work as I mentioned in my previous post, you don't have to do anything.

What is the version of your PrestaShop?

by the way, please also check if the permission for file sitemap.xml is correct 755?

Link to comment
Share on other sites

By default, it should work as I mentioned in my previous post, you don't have to do anything.

What is the version of your PrestaShop?

by the way, please also check if the permission for file sitemap.xml is correct 755?



I have set the permission for sitemap.xml to be 755, but it doesnt solve the problem.
still having the same error.
Link to comment
Share on other sites

I think your site problem is at redirecting or URL rewriting.
It seems that your redirect sitemap.php to sitemap.xml file.

Actually, prestaShop itself it not using sitemap.xml, if you could stop the redirecting or URL rewtite, the problem should be fixed.
Check my demo site here http://expresscheckout.dyndns.org:8080/shop1410/sitemap.php

I also have 0 size sitemap.xml

Link to comment
Share on other sites

I think your site problem is at redirecting or URL rewriting.
It seems that your redirect sitemap.php to sitemap.xml file.

Actually, prestaShop itself it not using sitemap.xml, if you could stop the redirecting or URL rewtite, the problem should be fixed.
Check my demo site here http://expresscheckout.dyndns.org:8080/shop1410/sitemap.php

I also have 0 size sitemap.xml



still figuring how I can redirect the URL rewrite like what you said.
do you know how I can do that? I am clueless..
Link to comment
Share on other sites

  • 1 month later...

Figured out how to fix this, it's a bug in the way that URL rewrite is set up by default.

Go into your admin panel, then preferences, then SEO & URL. Scroll down to "sitemap" and click the edit button. Change the "friendly url" from sitemap to site-map.

Hey presto, it works again! :)

Link to comment
Share on other sites

  • 3 weeks later...
×
×
  • Create New...