HTML and XML sitemaps for one website.
-
Hi all,
First, we have created a HTML sitemap for our wordpress website. Then we again generated XML sitemap and submitted same in search console. It's been more than a week and still new XML sitemap has not been indexed yet. I can still only see HTML sitemap for search results "company sitemap". Also search console do have only XML sitemap. Both sitemaps are accessible but only HTML has been indexed. Is there anything wrong having 2 sitemaps? Why XML sitemap not been indexed?
Thanks
-
Hey there,
there's nothing wrong with having more sitemaps than one. In some cases it's even better because it's easier for Google to crawl them. You can divide the sitemaps by categories, months, types of content etc.
However, as mentioned in the following thread, HTML sitemaps are supposed to help primarily people in navigating in the website, whereas XML sitemaps serves for helping the crawler. Therefore, I'd give priority to the XML sitemap in this case.
For more information, read this thread:
https://moz.com/community/q/sitemaps-html-and-or-xmlCheers, Martin