I have a online shopping portal and a B2b portal, can the HTML sitemap is better than XML for my both websites
Both are important Html or XML, html sitemap user point of view and xml crawler point of view so xml is really important for any site because as soon as crawler will visit you site and find all links on one place for faster indexing Thanks
They will both achieve the same results. Whether your sitemap is in html or xml the purpose behind it doesn't change. I personally think XML is better because scripts such as Wordpress have this feature automatically configured into them. Just submit your XML feed to a search engine and it's practically the same as submitting a sitemap.html page..
XML is by far the more important one to consider, especially for ecommerce sites where you may have new sections/remove sections and you want to make sure Google/etc. notice these changes as soon as possible. In many cases with my sites, as long as you have a clear navigation structure that is indexable/accessible by search engine spiders then sometimes HTML sitemaps can be redundant. let me know if you need any more advice!
XML is the most important because it will be crawled by search engines/robots. HTML sitemaps is only for humans
XML sitemaps = for search engine. While HTML sitemaps mainly for humans, they can also help distribute link juice to your important sections of your website. (However, hopefully your website navigation structure also does this by itself.)
I'd like this post if I could! very similar to what I said before websitetools, you're right that a good naivigation structure (with breadcrumb navigation too) will often help cover the html sitemap aspect. I've had some clients actually not want a html sitemap as an actual design choice so had to work around it. not had much trouble as XML ones are the vital ones.
in case of online shopping portals or e commerce sites we need both type of sitemap HTML and xml.html sitemap is for users and xml sitemap is search engine. we normally put xml sitemap in robits.txt file for stopping crawling again and again.