nopSolutions / nopCommerce

ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
https://www.nopcommerce.com
Other
9.19k stars 5.28k forks source link

Proper sitemap.xml #3236

Closed demckee closed 4 years ago

demckee commented 6 years ago

There seems to be some confusion as to what belongs in a sitemap.xml file, and how it relates to the sitemap page.

A url should be in the sitemap.xml file if is is a good page for a someone like google to return in response to a search. So, pages like blog posts, product pages and topic pages are high on this list. Index pages like a category page, product tag list etc are less useful here. Other pages like the contact us page shouldn't really be included in the sitemap.xml file, as they're not a good result for a search engine to return.

The sitemap page has no relationship to the sitemap.xml file. The sitemap page is for customers to find pages on your site. The sitemap.xml file is for search engines to know what pages are useful and which are not. Two different purposes.

So, two changes are needed and long overdue. First, which urls are included in the sitemap.xml file should not be controlled in any way by the same settings as the sitemap page. Most people don't want products on the sitemap page, but they should be included in the sitemap.xml. file.

Second change I've asked for multiple times: put the blog posts into the sitemap.xml file. I've been asking since 3.20 and it's still not done.

cnEUL commented 6 years ago

For multi language sites like ours also the hreflang tag is important and there is a spacial sitemap also for this. So for me also this woulb be good to be covered in a second xml sitemap. because it differs from the normal sitemap.xml.

https://www.eulanda.eu/en/packages-of-options-3
DmitriyKulagin commented 5 years ago

Closed #3236