|
2 Domains 1 Wordpress
OK - I have two web sites, and one wordpress setup/data. Site A has a Wordpress blog, everything works just fine. Site B - has a copy of all the wordpress install files, including themes etc, and because both sites are on the same server as the data, Site B does display all the same blog info as Site A. The problem is, all the links in Site B's blog point to http://SiteA/etc etc etc.
My thinking so far has been - it must get that domain information from the wp-options mysql table - because there's a field in there called siteUrl - which is set to SiteA.
I have added a field called SiteBurl and set that to be http://SiteB - but where in Site B's Wordpress code, do I tell it to take it's url info from SiteBurl and not siteurl ??
In the end, both sites must display the same blog, and allow for new posts etc from either site.
If anyone could point me in the right direction on this.... thanks.
|