In Opencart there is option of getting sitemap the Google site map by default. But problem is that while submitting the same to Google webmaster it say - "it's not an xml sitemap" so what to do? How can i submit the sitemap to Google webmaster. Thanks in advance. Don't tell me about advance paid extensions!
The default Google sitemap automatically ping google to add the links from the sitemap or once google search spider crawl the site it will index from sitemap all the links. Extensions are good as they provides more flexibility and options
Does the error state that the sitemap is html? In such a case, you would need to make sure you upload the sitemap in the .xml format, which is the one readable by Google. You can try the xml-sitemaps tool to generate it in .xml and upload it to your site. www [dot] xml-sitemaps [dot] com
Yes that is possible but it will take time to generate the xml site map with them and it required another step of uploading the site map to the server. Another problem with this is - it required to upload regularly by generating the sitemap again and again, if want to keep the sitemap updated regularly.
Yes the error says that this is not valid xml. The site you metioned i have gone it previously while it is worthy but i don't want to create the sitemap manualy everytimes i uploaded some products or created some new categories in Opencart. Is there no other way of doing it? Anyway thanks for you suggestion Hey! You are saying what i mentioned what i didn't want to do it manually and the demrit of doing it so. Thanks for this reply. I got you points.
The first thing you need to do is actually try viewing the sitemap to establish if there is any XML there and then try to validate it. Either in the browser or saving it to your desktop and looking in the source. Is there actually any content? If there is (and there is no obvious error) test it with an XML validator, such as: http://www.validome.org/xml/
I have to check but i will have to go in the core - i mean in the files of Opencat which is tedious job for me. I don't want to do as i am not much expert in that! I have seen in setting that a xml feed for the sitemap that's what i know!
You just need to put http://example.com/sitemap.xml in your browser and then next the validator. It's not difficult, just replace example.com with your actual domain name.