Im using a CMS that generates a sitemap automatically but without ".xml".IS this ok?
Can we put this is our robots.txt:
Sitemap: https://www.example.com/sitemap
or must it be:
Sitemap: https://www.example.com/sitemap.xml
Im using a CMS that generates a sitemap automatically but without ".xml".IS this ok?
Can we put this is our robots.txt:
Sitemap: https://www.example.com/sitemap
or must it be:
Sitemap: https://www.example.com/sitemap.xml
Not mandatory. Google's guidelines allow xml, txt and html formats. Look into guidelines to get further info.
Note: if sitemap has any other format as xml, it must be encoded as utf-8 and contain nothing more then urls one per line. Sitemap in xml format allows containing of some additional informations.
After seven years of using a sitemap with an ASPX extension, we have had our sitemaps stuck in a "Couldn't fetch" status for weeks. When we added a rewrite rule that forced sitemap.xml to the aspx page, our sitemap was fetched and processed within a day. It may not be required, but it appears to have some priority.
You can have 2 types of sitemap. One for Website users which can be in html or text and another for only Search Engine which is needed only in .xml format.