Skip to Content
Menu
This question has been flagged
1 Odpoveď
2493 Zobrazenia

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
Zrušiť
Best Answer

Interesting subject, anyone knows what to do about that ?

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
aug 24
1298
0
feb 23
2369
3
jan 23
4546
2
júl 21
7016
5
dec 24
19804