Two domains, different content, one MySQL
-
Hi,
I’ve done some digging on this and can’t seem to resolve my problem…
Basically, I want to run two separate blogs (content/themes/etc), which each have their own domain name, but need to share one mySQL database (my host only allows 1 database in my package…)With a root installation of wordpress, both https://www.domain1.com and https://www.domain2.com show the same content.
I’ve tried installing wordpress in separate subdirectories off the root file ‘blog1’ and ‘blog2’, with both sharing the database using different prefix for each (‘wp1_’ and ‘wp2’). With this I am able to see Blog 1 by going to https://www.domain1.com/blog1 OR https://www.domain2.com/blog1 ; and blog 2 is accessible at https://www.domain1.com/blog2 or https://www.domain2.com/blog2.
I want to know if it is possible to I install / edit wp-config so that these two blogs can run from independent domains directly from their root menus?
While I ran a single blog with no problem for years, this second one is proving to be quite a challenge!!
Thanks for your help!!!
- The topic ‘Two domains, different content, one MySQL’ is closed to new replies.