[wp-hackers] 2 URLs 1 WordPress install

Mark Harwood mark at phunky.co.uk
Thu Jul 27 14:20:09 GMT 2006


Its one site, with one DB, it does work as it stands but as i use 
get_bloginfo() to get the URL links and forms all go to mEm-Gaming.co.uk 
- i could just replace that in the theme and just grab the domain.

But i was just wondering if there was away to make WP use two domains :S

R.J. Kaplan wrote:

> Hi,
> How are you doing this? with one database or two? I've figured out a  
> way to use 1 install for 2 (or more) different domains (on the same  
> server) with separate databases, but the only thing I ddidn't work  
> out is the admin section, it doesn't know which database to work on.
> Just curious about how all this works.
> ~Joe
>
> On Jul 27, 2006, at 8:20 AM, Mark Harwood wrote:
>
>> Hi guys,
>>
>> I was wondering if anyone knew the correct way of getting a single  
>> WordPress install to work over two domains?
>>
>> I currently have mem-gaming.co.uk/v2/ and midnightevil.co.uk/v2/  
>> running off the same install.
>>
>> But of course in the theme i use get_bloginfo quite a bit, so how  
>> can i get around the fact that WordPress thinks its only installed  
>> on mem-gaming.co.uk domain?
>>
>> Cheers
>> Mark
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers




More information about the wp-hackers mailing list