*We need to put our sitemaps in:
http://domain/location/
*So now, we use these:
<site
base_url="http://www.example.com" store_into="/tmp/sitemap-example.com.xml.gz"
location="sitemaps/" <====================
verbose="1"
>
<urllist path="/tmp/example.com.urls" encoding="UTF-8" />
</site>
*Will generate an index file like these
[...]
<loc>http://www.example.com/sitemaps/sitemap-example.com1.xml.gz</loc>
[...]
It could be possible to add some checks of location like enssure the absent of the first / and the presence of the last / but we generete these file dinamycaly.
location feature patch