I'm using xmlsitemap on a domain and it's working fine for the root domain. However, I've created some mutlisites by parking domains on top of the main domain. Each multisite has it's own files folder (inside the sites folder for each individual parked domain.) When I enable the xmlsitemap module for the parked domains, it corrupts the sitemap for the main domain.

I've also noticed that it doesn't seem to be creating the xmlsitemap folder inside the files folder of the parked domains. I've verified that the files folder of the parked domains are writeable (777).

Is there anything else that I'm missing or that I should be checking?

Thanks,
Graydon

CommentFileSizeAuthor
#2 xmlsitemap-multisite.patch1.76 KBzxombie

Comments

rhoehn’s picture

I'm having the same issue - does not work with multi-site setups.

zxombie’s picture

StatusFileSize
new1.76 KB

I've has the same issue. The attached patch fixes it for me by changing the name of the cached XML file to be unique to each site.

darren oh’s picture

Status: Active » Closed (duplicate)

Duplicate of issue 202294. This can only happen when two sites use the same files directory, so the files directory on one of the sites must not be set up correctly.