Installing Multiple Blogs with Separate Databases and subdimains
-
Hello!
I have searched for a solution to my problem in the WP forums so I’d very much appreciate you input to my situation (and thank you in advance!):
I want to install a separate, second blog within my domain. My initial blog is installed within a subdomain and when I set it up I I copied index.php and .htaccess to the root directory of my server to make it work (per WP’s instructions on this method). Everything works fine.
Now I have created a new subdomain for my second blog and I chose to create a new SQL database and separate WP install (as I have this capacity with my server to do so.
I read the forums and the oft-quoted Installing Multiple Blogs codex, most attempts at multiple WP installations seek to use one database.
I have found that although my primary blog continues to “work” when linked from the primary domain (www.blog.com) the second blog (www.blog.com/blog2) won’t work – I get a blank screen. This is despite the fact I ensured that blog2 has its own index.php and of course, custom wp-congfig file for the second database, username and password, as per tehe codex.
How can I get both blogs to work? I still want my primary blog to work from the primary URL, and the second blog to be invoked when the subdomain is entered.
I believe the issue is connected to the index.php file in the root (that’s necessary to get my primary blog to invoke); if I edit that file to direct to blog.com/blog2, then the second blog functions and the primary blog crashes – but I cannot get both to work simultaneously. There must be a way to edit index.php to make both function. Or …it’s possible that .htaccess is to blame here but I don’t understand its functionality.
Index.php in the root seems to be what’s messing things up here, but you have to have it – can anyone suggest what to do here?
Thank you!
Greg
- The topic ‘Installing Multiple Blogs with Separate Databases and subdimains’ is closed to new replies.