Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2457 Tampilan

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
Buang
Jawaban Terbai

Interesting subject, anyone knows what to do about that ?

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Agu 24
1252
0
Feb 23
2353
3
Jan 23
4506
2
Jul 21
6977
5
Des 24
19749