Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2461 Vistas

Apparently odoo generates a new cached sitemap.xml every day containing the different pages that you want to be indexed (no problem so far..).

 

When you have multiple DNS, for example mysite.com, mysite.de, mysite.fr, the FIRST request that wants to access the sitemap.xml is used to generate a sitemap, and force the domain to be the domain of the request..

 

To test ? you simply delete the sitemap.xml, and try to access it via mysite.com/sitemap.xml, you will see every pages entries with "mysite.com" domain, and that will be the same if you then try to access mysite.de/sitemap.xml (all entries are still .com)

 

Problem ? When google or whatever robots tries to check the sitemap for mysite.fr/sitemap.xml, Odoo could answer with mysite.com in the entries (and that is random since it depends on how the sitemap is last generated). It could produce problems with the indexing/search engine I guess ?

 

For me, a sitemap version by domain should be cached, and then depending on which is the domain accessing it, it should reply with the corresponding cache ??

 

Anyone fixed that ?


Avatar
Descartar
Mejor respuesta

Interesting subject, anyone knows what to do about that ?

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 24
1257
0
feb 23
2353
3
ene 23
4514
2
jul 21
6978
5
dic 24
19753