Different domains, same site

Permalink
Is it possible to configure C5 to use different domains & subdirectories for the same site?

Like this:

http://www.domain1.com
http://www.domain2.com/directory

Both going to the same install & site?

hbartlett
 
Mnkras replied on at Permalink Best Answer Reply
Mnkras
you can try commenting out the base_url and dir_rel lines in the site.php
hbartlett replied on at Permalink Reply
hbartlett
It was that simple.
frz replied on at Permalink Reply
frz
also check out the domain mapper add-on.
Mnkras replied on at Permalink Reply
Mnkras
you propaganda guy ;)
Mnkras replied on at Permalink Reply
Mnkras
and i don't thing the domain mapper would work well since one domain is in a sub folder
frz replied on at Permalink Reply
frz
well not sure what they're trying to accomplish,

but yes the domain mapper lets you point different domains to different spots of the tree in a single concrete5 install.

It also does keep the folders in the URL field, which is often seen negative but strangely seems to be what this person is looking for.