domain aliasing

Permalink
clientsite1.com is where C5 is currently installed.

Client says C5 needs to update clientsite2.com, clientsite3.com, etc --- which are just domains aliased to the same path --- e.g. identical content.

Would C5 freak out if, in the config file, I did something like this?

define('BASE_URL', $_SERVER['HTTP_HOST']);

(I'd likely lock that down with a switch/case and not just automatically assign the host.)

Anyway...is this the best way to go about it or is there another way?

 
mose replied on at Permalink Best Answer Reply
mose
Take a look at "Disable Automatic URL Redirection" and see if that does what you would like.

http://www.concrete5.org/documentation/installation/installing_conc...
midwestwebdeveloper replied on at Permalink Reply
For this situation, yes... I do believe that will work.

Thanks for the tip!
mose replied on at Permalink Reply
mose
Great. I have yet to have anyone mark my response as the answer. It would be encouraging to provide a quick and helpful response if you take the time to do so. Thanks.