Hello. I am running a few sites off a single script. I have set up some domain aliases (sites/domain1.com, sites/domain2.com, etc.) , and am using imagecache to serve images from the /files directory of the main installation by having the various databases share the /files table, as well as a handful of other tables. (These various domains are heavily image dependent and having the images work correctly is a priority.)

I am also using XML sitemap successfully on the main site, and would like to use it on the various domains that are located in /sites.

I know that the customary approach for domain alias sites is to set up the file system like this:

sites/domain1.com/files

as opposed to this

/files

However, if I do set up the individual file systems in the customary manner, then the imagecache module will not supply images to each of these domain aliases.

At the same time, the way things are set up now, I cannot run multiple instances of XML sitemap without getting .xsl and other errors, because there is only one /xmlsitemap folder created in /files.

Is there a way that I can get both imagecache and XMLsitemap to work off the main /files directory? If not, is there a possible workaround?

If anyone can advise me on this I'd be grateful. If I have not explained this issue sufficiently, please let me know. Thanks, david

Comments

bwv’s picture

I just now realized that my question is really this: is it possible to have more than one xmlsitemap folder in the /files directory, and of course it is -- these folder names can be customized in advanced settings.

Apologies for the first message.

And my hat is off to Dave Reid for this excellent module. david