Help

0

How to avoid double sitemap.xml attachments?

Avatar
Pascal Tremblay

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?

Avatar
Discard
1 Risposta
1
Avatar
Zbik
Best Answer

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.

1 Comment
Avatar
Discard
Avatar
Pascal Tremblay
-

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