admin管理员组

文章数量:1425855

Here are the steps I took in downloading and setting up WordPress on a WAMP (Windows, Apache2, MySQL, PHP):

1.) Download WAMP Server, here: WAMP Server Installation

2.) Download WordPress on Wordpress

3.) Using PHP MyAdmin, click on Databases, and 'create new database' (choose a name)

4.) Extract the downloaded zip Wordpress file and copy it to C:/WAMP/www/ and paste WordPress folder there

http://localhost/wordpress and it works!

5.) Create a confif.php file and add the database name that you created above

6.) Follow the instructions on screen to install WordPress and then login

That's it! Everything looks great and I can customize my Wordpress Site on localhost/wordpress - The name of my wordpress folder

Now, I am done with my first site and I would like to create another site. My quesiton is:

Do I have to go through this process again? Do I use the same database created to create another site which will have different content? If so, how can I do this? What steps do I follow?

Here are the steps I took in downloading and setting up WordPress on a WAMP (Windows, Apache2, MySQL, PHP):

1.) Download WAMP Server, here: WAMP Server Installation

2.) Download WordPress on Wordpress

3.) Using PHP MyAdmin, click on Databases, and 'create new database' (choose a name)

4.) Extract the downloaded zip Wordpress file and copy it to C:/WAMP/www/ and paste WordPress folder there

http://localhost/wordpress and it works!

5.) Create a confif.php file and add the database name that you created above

6.) Follow the instructions on screen to install WordPress and then login

That's it! Everything looks great and I can customize my Wordpress Site on localhost/wordpress - The name of my wordpress folder

Now, I am done with my first site and I would like to create another site. My quesiton is:

Do I have to go through this process again? Do I use the same database created to create another site which will have different content? If so, how can I do this? What steps do I follow?

Share Improve this question asked May 25, 2019 at 20:32 WestWest 211 silver badge6 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 1

Yes, usually you create a new database, user and password as well as use another copy of WordPress to create a new site. You can create a new directory in the same place where the "wordpress" directory is located and use that one for the new site.

Note that it is possible to use the same database for two different sites if you use a different table prefix (usually wp_). However, this is only advisable in same cases.

Yes you have to create new database for new wordpress site. It's imposible to create several wordpress websites with one database if you use prefix in tables names.

本文标签: mysqlSetting up Wordpress Locally on WAMP for a new site (with one already)