How to install WordPress Locally with XAMPP on Windows 10?

WpWebGuru - How to Install WordPress

Do you want to install WordPress locally using XAMPP on your local system? This is a great start if you want to develop a website that can be used locally for testing or other purposes. With the help of XAMPP you can run a website on the local server from your computer. And once you complete the installation of XAMPP, you can install a new WordPress within a few minutes.


While it may be somewhat interesting to install XAMPP and WordPress for development locally, you may need help.


Here is the means by which WordPress is get installed locally with XAMPP. Keeping this in mind, you will have your own environment WordPress local server running on Windows 10.


Lets get start to install WordPress step by step

Step 1. Download XAMPP on your Computer.

XAMPP Download

The initial step on your approach to install WordPress locally is to download and install the XAMPP on your local system. You can download the Windows XAMPP installer from Apache Friends.

Once the XAMPP successfully downloaded on your system. Follow the steps shown in the video below to install XAMPP Successfully.


 Now, You have successfully installed XAMPP on your system. Go to Step 2.

SSL Advertisement


Step 2. Launch the XAMPP and Test your Server.

Go to Windows Menu by pressing Windows Button from your Keyboard and Go to XAMPP Folder down to the list as shown in the picture.

XAMPP Control Panel from Windows Button


Click on the XAMPP Control Panel from the drop down list of XAMPP Folder. The Window will appear when you click.


XAMPP Control Panel

Now, Click on Start Button for each Apache and MySQL respectively. The Status of the Apache and MySQL changes like as shown in fig. below

XAMPP Control Status

And now you can test that your local server is working by going to http://localhost/ in the web browser like Chrome, Mozilla or any browser you're using on your system.

XAMPP localhost

If all goes well, you now have a working XAMPP server on your Windows 10 Computer or Laptop! But now the time has come to install the WordPress inside the XAMPP folder called htdocs. So here is how to get a WordPress site up and running on XAMPP but before that we need to create a database for your new website that we need handy while installing and setting up the WordPress.


LCGAD - Best Graphic Tablets



Step 3. Create Database for your WordPress Site 

For that you need to type the below address into the address bar of your web browser  http://localhost/phpmyadmin/ or you can click on the Admin of MySQL into the XAMPP Window.

Once phpmyadmin is open into your browser, Click on Database

1. Write down the Database name of your choice.
2. Now, Click on Create Button as shown in picture.

Congratulations! Now have successfully created a database for your website.

Remember the Database Name, we need it while setting up the WordPress.



Now, we have successfully installed and run XAMPP control and Database is created for you website.
You will need WordPress file to install for your website. for that you need to download the latest version of WordPress file from the WordPress.org

Step 4. Copy and paste WordPress file

Now, Copy the WordPress file that you have downloaded latest version from Wordpress.org 

In Windows, navigate to the folder where you installed XAMPP or its files. For me, that’s C://xampp. 
It should be something similar for you if you have installed XAMPP into the C Drive. 

1. Open the XAMPP folder and find the htdocs subfolder.
2. Paste the WordPress downloaded file into the htdocs subfolder.
3. Extract the WordPress File by clicking the right click on it.
4. Now, you can see extracted file with the name as WordPress.
5. Rename the extracted file name as test website or you can rename whatever you want to call it.

Now, come back to your browser and enter the address following with your website name whatever you named it.  http://localhost/testwebsite 

A WordPress Setup window will open when you enter the above URL


Step 5. Install the WordPress locally on-screen Installer

To install WordPress open http://localhost/testwebsite and you will see a welcome screen as:

WordPress Installation

Click on the Continue button for next step.

Now, WordPress will show something like this when you hit the continue button.

Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding.

  1. Database name
  2. Database username
  3. Database password
  4. Database host
  5. Table prefix (if you want to run more than one WordPress in a single database)

We’re going to use this information to create a wp-config.php file. If for any reason this automatic file creation doesn’t work, don’t worry. All this does is fill in the database information to a configuration file. You may also simply open wp-config-sample.php in a text editor, fill in your information, and save it as wp-config.phpNeed more help?



This means you need to have above required details handy with you before proceeding for WordPress Installation.


I assume you have all the required fields with you. Now, Click on Let's go button



WordPress Fill Details

You need to fill these details as follows:


Database Name = Name of the database you created in PhpMyAdmin
Username = “root”
Password = leave blank

Click on Submit Button.

Once you complete the process, you should see your brand new WordPress installed and running perfectly on your local host.

Now, You can see you website running perfectly on you local host. Lets us know in the comment box if this was helpful you or not.



Year 3000 – Alien Confrontation


Comments