I just upgraded from 3.30 to 3.40 version of nopCommerce.
How do I implement sitemap.xml and robots.txt in this version to the root dir of my website? I used to upload by myself those two files using ftp client. Since this new version using handlers for sitemap.xml and robots.txt, and I am confused how to utilize them.
If I put /sitemap.xml on my browser it returns to the homepage and now Google can no longer read my sitemap.xml like it used to be when I am still in version 3.30. Error : "Your Sitemap appears to be an HTML page"
Just looking at this thread. Based on the resolution of the issue, should this line be removed from the web.config for the platform in general? What is the advantage of having this line in the web.config if google cannot read it properly when present?
It still directs me to the home page when I use the sitemapseo.aspx and when I try to submit the sitemap to google I get an error that the page is html (I assume it is expecting xml).
I am not sure if it is important (since it did not matter before the upgrade to 3.40) but I am using two locals and the default locale is not the English one.
I added back the <add name="SitemapXml" path="sitemap.xml" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" /> line in the WebConfig and removed the robots.txt related line and now the sitemap.xml is working. I am no longer getting a not found error.
I also added the following line under the appsettings section that were there under the older version although I am not sure these are relevant
Recently, I was questioned about the frequency that the sitemap.xml is updated on nopcommerce... Can anybody help me with this question? Is it updated on demand, every time that the url is called?