Sitemap.xml rendered by Google as htmlsitemap
Geschrieben: 16 September 2015 - 00:00
In Google Webmaster Tools under Search Console our sitemap.xml shows that there is 1 Error. On Sitemap details page it shows the following error:
Issue: Sitemap is HTML
Description: Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.
Resubmitting sitemap does not fix anything
We tried number of different thing to get it working and tested with different sitemap verification tools (all successfully validated it).
So when I ran it through Fetch as Google tool the problem was discovered, sitemap.xml request was redirected to html page (http://www.maxiaids....rl=/sitemap.xml) instead of loading sitmap.xml file yet there is no redirect in IIS to do so.
We are running version 22.214.171.124
Any suggestions on how to fix this issue?
Geschrieben: 16 September 2015 - 09:06
have you placed a static sitemap.xml file in the shop installation directory?
If so, please delete the file.
After that open the URL https://www.maxiaids.com/sitemap.xml in your browser.
The sitemap.xml file is automatically created by the shop!
Viele zusätzliche Smartstore.NET Plugins gibt es im MARKETPLACE:
Hier geht es zu den Smartstore.NET Videos:
Die deutsche Smartstore.NET Online-Dokumentation gibt es hier:
In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore.NET":
Geschrieben: 16 September 2015 - 18:45
That is exactly the point:
- As a user you can see and test sitemap.xml and it comes out valid
- But if you use Fetch as Google (that is how google sees it) it redirects to http://www.maxiaids....rl=/sitemap.xml
So Google does not even see sitemap file.
Geschrieben: 17 September 2015 - 17:07
Weird... this typically indicates that anonymous access is not allowed on this route/file. And indeed; I just emulated the GoogleBot with a custom UserAgent and I was redirected to the login page
Let me check what's wrong... I'll get in touch.
Geschrieben: 17 September 2015 - 17:19
Cannot reproduce the behaviour. But I assume your built-in search engine account is not assigned to the Guest customer role. Unfortunately system accounts are hidden in the backend customer list. If you have access to your database, can you verify that the table Customer_CustomerRole_Mapping contains the mapping record Customer_Id: 2 | CustomerRole_Id: 4 ?