Problem with two blogs
-
Hi!
I’m running Kubuntu Linux and I decided to install WordPress from the repositories. I’ve been running a copy of wordpress on another server, but it was going down so I copied the files, took a sql dump of the database and used that. I got my blog running nicely.
Then however, because the installing was so easy, I decided to host my friends blog too. This blog was hosted on the same server as my blog was hosted before, and on the same database. So, I made a copy of the files and just edited the prefix to point to his part of the database. His blog was now running nicely. This is when I noticed that my own blog was now using the same part of the database that my friend’s blog.
Apparently both of the blogs use /etc/wordpress/wp-config.php as the config file. Strangely, when I edit either of the wp-config.php files located at /var/www/blog (my friend’s blog) or /usr/share/wordpress (my own blog, I only made a link in apache’s conf), the /etc/wordpress config file edits too. So, whenever I change the prefix value in any of these three wp-config.php files, both of the blogs move to use the same part of the database.
Does the database point these blogs to use /etc/wordpress/wp-config.php, or some file? Or is it something else?
ps. I tried Googling for the answer, as well as searching this forum. Searching for “two blogs” or anything similar proofed to be useless.
The topic ‘Problem with two blogs’ is closed to new replies.