Skip to Content
Menu
This question has been flagged
1 Reply
2842 Views

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
Discard
Best Answer

Interesting subject, anyone knows what to do about that ?

Avatar
Discard
Related Posts Replies Views Activity
0
Aug 24
1653
0
Feb 23
2610
3
Jan 23
4970
2
Jul 21
7448
5
Dec 24
20625