How to install two WordPress in one database at the same time?


For two main purposes,
The first collection is for everyone and future study review;
Second, do something practical from the foundation, increase the search volume, and improve the blog traffic. The goal is very clear, it Bulu does not like to copy and paste, just started to study WP, so finishing one or two.

Most of the time, the virtual hosts we buy have subdirectories and can build multiple websites. In recent days, I have tried a foreign space, which can have three subdirectories, that is, four independent websites.
Before installing a WP, the default database header is WP;
If you continue to do the second website, the database must start with WP. You need to modify the header to find the parameter modification after wp-config.php to $table_uprefix.
Then normal installation is OK

Recommended Today

Laravel service container must know

The article was forwarded from the professional laravel developer community. Original link: To learn how to build an application with laravel is not only to learn how to use different classes and components in the framework, but also to remember allartisanCommand or all helper functions (we have Google). Learning to code with laravel is […]