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

Robert Deaton false.hopes at gmail.com
Fri Jul 28 16:37:39 GMT 2006


On 7/28/06, Mark Harwood <mark at phunky.co.uk> wrote:
> Yes your right, its ONE site but with two domains - it already works in
> a sense
>
> www.mem-gaming.co.uk/v2/
> www.midnightevil.co.uk/v2/
>
> both go to the same site and pull the WordPress stuff, i was just in
> need of sorting out the URL links. i think i will just remove the use of
> bloginfo() for grabbing the URL out of the DB and instead just grab the
> serveruri directly from the domain.

A better and more reliable thing to do might be using a filter on
bloginfo or the options to modify the domainname instead of removing
them from the picture altogether.

-- 
--Robert Deaton


More information about the wp-hackers mailing list