one database for multiple domains
-
I am trying to install wordpress on 2 domains using only 1 database. I installed on domain1 and it’s working great. For domain2 I changed the wp-config.php file to say:
$table_prefix = ‘wp2_’
The second domain is working and writing to the database, but when I type in mydomain.com it pulls up a list of my files. If I type in mydomain.com/index.php then I get the correct blog layout. Same with the admin login (I had to type in mydomain.com/wp-admin/index.php) It doesn’t work unless I type the “index.php” in.
Has anybody experienced this problem before and know how to fix it? I searched the forum but couldn’t find this particular issue.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘one database for multiple domains’ is closed to new replies.