跳至內容
選單
此問題已被標幟
2 回覆
7069 瀏覽次數

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


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
12月 23
4429
0
8月 24
1365
5
5月 23
15418
2
12月 23
5443
1
1月 24
2546