Inhalte aufrufen

Profilbild

Sitemap.xml rendered by Google as html

sitemap

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
7 Antworten zu diesem Thema

#1 MaxiAids

MaxiAids

    Member

  • Members
  • 19 Beiträge

Geschrieben: 16 September 2015 - 00:00

We had a sudden drop in getting index by Google and problem seems to be in sitemap.xml
 
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 2.2.1.0
 
Any suggestions on how to fix this issue?

#2 Wolfgang Schmerge

Wolfgang Schmerge

    SmartStore AG

  • Administrators
  • 1983 Beiträge

Geschrieben: 16 September 2015 - 09:06

Hi,

 

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!

 

Regards

 

Wolfgang


Viele zusätzliche Smartstore.NET Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/

 

Hier geht es zu den Smartstore.NET Videos:
Smartstore.NET Youtube-Channel
 

Die deutsche Smartstore.NET Online-Dokumentation gibt es hier:
http://docs.smartsto...display/smnetde

In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore.NET":

http://community.sma...t-tipps-tricks/

 


#3 MaxiAids

MaxiAids

    Member

  • Members
  • 19 Beiträge

Geschrieben: 16 September 2015 - 14:43

No I did not place any sitmap.xml in the root. After I open URL file is displayed but actual file does not get created.



#4 Murat Cakir

Murat Cakir

    SmartStore AG

  • Administrators
  • 1102 Beiträge

Geschrieben: 16 September 2015 - 16:35

The file never gets created, it is served dynamically from memory. I just checked thr URL https://www.maxiaids.com/sitemap.xml. It works perfectly. But the link you posted above is wrong.


Murat Cakir
SmartStore AG


#5 MaxiAids

MaxiAids

    Member

  • Members
  • 19 Beiträge

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.



#6 Murat Cakir

Murat Cakir

    SmartStore AG

  • Administrators
  • 1102 Beiträge

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  :ph34r:

 

Let me check what's wrong... I'll get in touch.


Murat Cakir
SmartStore AG


#7 Murat Cakir

Murat Cakir

    SmartStore AG

  • Administrators
  • 1102 Beiträge

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 ?


Murat Cakir
SmartStore AG


#8 MaxiAids

MaxiAids

    Member

  • Members
  • 19 Beiträge

Geschrieben: 17 September 2015 - 20:55

That was it! Thanks