Hi Friends, Multiple WordPress Installation into a single database. is it possible and how difficult is it?
This question is arrive when we think about installing multiple WordPress but our server(Host) has a limit of the MYSQL Database. The simple answer to this question is “Multiple WordPress Installation into a single database is possible and it’s not so difficult.”
For installing multiple WordPress on single MYSQL Database we need to install WordPress manually not using one-click programs they would not let you choose the prefix.
Please read here for manually installing WordPress if you don’t know if you already know its good. When we follow WordPress installation steps WordPress will for database pieces of information like in the below image.
We need to enter all the details related to the database here only thing we need to change is Table Prefix. By default, the WordPress table prefix is (wp_). We can change it according to our requirement like below.
For the Main website (www.example.com) We can use table prefix (main_)
For Subdirectory blog (www.example.com/blog) We can use table prefix (blog_)
For Subdomain blog (www.blog.example.com) We can use table prefix (blog2_) or anything that differentiates our table columns.
By using Table Prefix we can install as many WordPress we want on a single MYSQL Database.