Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2494 Widoki

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 ?


Awatar
Odrzuć
Najlepsza odpowiedź

Interesting subject, anyone knows what to do about that ?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 24
1300
0
lut 23
2372
3
sty 23
4547
2
lip 21
7019
5
gru 24
19812