Hi all. I have a related but slightly different situation which I wonder if anyone in this thread could give any advice on. I would like to have the same forum (i.e. all the same posts) running on various different URLs. For example http://client1.example.com/ and http://client2.example.com/. The idea being that I will allow users from two different clients to interact with each other in the same forum, but each one running on their own subdomain.
I have already modified the config.php file so that rather than the URL being hard-coded it picks it up from the $_SERVER variables and it seems to work fine (so assets, for example, load properly from their own subdomain). I just wanted to know if anyone else has tried anything similar or if anyone know if anything that might cause a problem.
At the moment the only issue I saw is where the URL of uploaded images (using the fof/upload
extension) is embedded within posts, however I was able to get around this by uploading to S3 so the client-specific URL isn't embedded in the post.
Has anyone else done this? Or is there anything else that I should watch out for?
Thanks!