[wp-hackers] Re: 2 URLs 1 WordPress install

Brian Layman Brian at TheCodeCave.com
Fri Jul 28 06:49:24 GMT 2006


Computer Guru Sent:
>No, I think he wants _one_ blog, on several domains.
>The very best way to do this is to employ mod_redirect with_out_
mod_rewrite. 
>Point one domain to grab info off the other.

If that's the case, could you do .htaccess mirroring with the [p]
option?

Put something like this in the .htaccess in the root for one domain:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule (.*) http://www.theotherdomain.com/$1 [P]
</IfModule>

I don't know if that would work with WordPress or not.  I haven't tried
it...

______________________________________________
Brian Layman 
http://www.TheCodeCave.com



More information about the wp-hackers mailing list