Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
7167 มุมมอง

Hello there,

We are on Odoo 8.

When the sitemap is created, two attachments are created : sitemap.xml and sitemap-1.xml

See :

Even if I delete both attachments, as soon as I go to http://oursite.com/sitemap.xml, those two attachments are recreated.

Do you also have 2 attachments? How to avoid the second file?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

This is not necessary. Files with names sitemap-N.xml (like sitemap-1.xml, sitemap-2.xml ...) will be used during the construction of the sitemap index, when your web page will be larger.

อวตาร
ละทิ้ง
ผู้เขียน

I let it there so. If I delete only sitemap.xml, it recreates sitemap.xml AND sitemap-1.xml too. So, like you say, it is not a problem for me. Thanks

คำตอบที่ดีที่สุด

Hello Pascal, 

I have the same problem. I only have sitemap-1.xml (not sitemap.xml). 

I uploaded a sitemap with pages and images info but when I make changes in the website, the sitemap is overwritten and the full content is replaced. This is problem for me, because It is a "branding page" and it includes the "www.mywebsite.com/shop" and this kind of unuseful links to me in the sitemap.xml and those links are indexed and it shouldnt be.

How can I fix the content of the sitemap, or at least, avoid to auto remove the links entered manually?.

Thank you


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
ธ.ค. 23
4533
0
ส.ค. 24
1458
5
พ.ค. 23
15531
2
ธ.ค. 23
5569
1
ม.ค. 24
2623