سؤال

As part of SEO, I need to submit a website's sitemap to Google. But Google is rejecting it saying it is an HTML file and it needs an XML file. How does one convert HTML to XML? I've searched the Google Webmasters page and the net for answers but came up with nothing. Really appreciate it if someone could give some guidance on how to do this!

هل كانت مفيدة؟

المحلول

You probably don't want to convert your HTML sitemap to XML, you want to create an XML sitemap from scratch according to Google's sitemap specifications

You can either make this by hand in a text editor like notepad++, build a script to generate it, or use one of these tools: http://www.xml-sitemaps.com/

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top