Mutiple WP Sites on Single database

jubael

Newbie
Joined
Jan 3, 2013
Messages
34
Reaction score
14
Hi,

I have two domains and I wanted both to have WP installed on them. I only have a single database with 1and1.

I was wondering if its possible to have two separate WP websites on a single database and if so what are the basic steps.

I have WP on my route directory which is my first domain that i bought and when i bought the second domain i pointed the destination to a folder withing the root. This may not be correct.

Any advice?
 
yes, you can install them fine in same database. Just make sure to change the "table prefix" in the wp-config.php before installing the 2nd WP and you will be fine
 
yes, you can install them fine in same database. Just make sure to change the "table prefix" in the wp-config.php before installing the 2nd WP and you will be fine

How about directory structure? it should not matter should it?
 
How about directory structure? it should not matter should it?

there directory structure doesn't matter as long as you install the scripts in different directories... you current set up is fine - one will be in the root and one will be in a subdirectory inside the root
 
That sounds great.

When I copied over the WordPress, my new website redirects to my first website.

Do I have to have a .htaccess file in both folders? do I need to make any changes to my .htaccess? or should there only be one copy in the root?
 
Back
Top