WordPress is content a management system which you can use to create various types of website from personal, portfolio, business, corporate or a creative agency website. Traditionally, people have been using WordPress on their web hosting account, but it’s not mandatory that to you need a hosting server to install WordPress. In this article, we will learn about how to install WordPress on your local localhost.
Installing WordPress on your local localhost gives you an option to learn WordPress and test various themes plugins to create your desired website. Installing WordPress on your localhost is really an easy process. You can create different types of site installing WordPress on your localhost to learn or even for testing purpose before finally deploying on your hosting server.
You can install WordPress on Localhost using XAMPP in few simple steps.
We will learn in detail how to Install WordPress on your localhost by this methods on your local localhost. Furthermore, we will also learn how to install WordPress themes from wordpress.org directory.
If you are a newbie in the field of WordPress & Blogging and need help in setting up your website, please follow the guides given below.
- How to Start a WordPress Blog in 7 Easy Steps?
- How to Select a Domain Name for your Blog?
- 7 SEO Tips to Rank a Website in Search Engines.
- How to Select a WordPress Theme for your Website/Blog?
- Steps to Follow before Applying for Google Adsense Program.
So, let’s get started to install WordPress on localhost using XAMPP.
How to Install WordPress on your localhost XAMPP?
Download XAMPP for Windows
Before you learn how to install WordPress using XAMPP on your localhost, let’s understand what is XAMPP first.
XAMPP is an open source web service software which mainly consists of Apache HTTP server, MariaDB database, and interpreter scripts which are written in PHP and Paul programming language and allows you to create a local server on your localhost.
Please follow The below steps to download XAMPP on your localhost :
Step 1: Open your browser
Step 2: Go to Google.com and search for “Download XAMPP for Windows.”
You will be displayed with the list of search results.
Step 3: Open the first link
You can see that XAMPP for windows displayed at the top of the website. There is multiple version of XAMPP which you can download for Windows Operating System. The latest version of XAMPP for Windows is 7.3.2, and I recommend you to download the latest version as it contains the updated version of PHP programming language and other software.
Step 4: Click on Download Button
As soon as you click on Download Button, the download process starts and will take some time depending upon your internet speed.
Step 5: Locate the XAMPP software on your computer (i.e. into Downloads Folder) and double click to install it. Follow the below procedure to install the XAMPP software.
Once you have completed the process of installing XAMPP, you need to download WordPress from wordpress.org.
Download WordPress on your Computer
Please follow The below steps to download WordPress on a localhost:
Step 1: Open your browser
Step 2: Go to WordPress.org and click on Get WordPress.
It would redirect you to WordPress Download Page.
Step 3: Click on download WordPress and the WordPress zip file should start downloading.
Once you have downloaded the WordPress zip file is on your computer, locate the zip file and extract it. Copy to WordPress folder and go to XAMPP installation folder. Normally the XAMPP installation folder is located in C drive unless you have changed it. [Go to Local Disk (C:) > xampp > htdocs]
The above process is explained in the below GIF:
Once you have copied and pasted the WordPress folder into htdocs, the last remaining steps to setup WordPress on your localhost now. Please follow the below instruction to setup WordPress on a localhost.
Configure WordPress on your Localhost using XAMPP.
Before starting the setup process of WordPress, you need to start the XAMPP server on your localhost. Please follow the given steps to start the XAMPP server.
- Go to Start Menu and Search for “XAMPP Control Panel”.
- Click on XAMPP Control Panel to start the XAMPP server
- Click on Start Button of Apache & MySQL to start the Server
- Once the server starts, you can find the Stop option to stop the server as given below:
Please follow the below steps to set up the WordPress on your local machine after you have started the XAMPP server.
Step 1: Open your browser
Step 2: Go to “localhost/phpmyadmin” without quote.
Step 3: Click on “New” and create a New database.
Step 4: Open a new tab on your browser and type “localhost/WordPress” without quote( or any name you have given to the folder you happy state in htdocs).
And Select the Language in which you want to install WordPress. We will be selecting English as the WordPress installation language.
Step 5: On next screen, you will be asked to remember the Database name, Database Username, Database Password of phpmyadmin. Click on Let’s Go.
Enter the Database name which you just created “wordpress” in my case, the database username as root, leave the password field as blank and leave the other field as it is.
Click on Submit.
Once you Click on Submit, you will get the screen like given below:
Click on Run the Installation to install WordPress on localhost using XAMPP.
Step 6: Enter the Site Title, Username for WordPress admin, the Password for a WordPress admin, and your email address.
Click on Install WordPress.
The WordPress installation will start once you click on Submit button and it would take a few seconds for WordPress to install on your localhost.
Once the WordPress is installed, you can log in to your WordPress admin panel by going to localhost/wordpress/wp-admin (In my case, the folder name is wordpress. You can name the folder as per your choice before pasting in htdocs folder)
To login into your WordPress Admin Dashboard, please enter the username and password you created while setting up the WordPress. In case you forget your username and password you can always reset using the email address you provided during the WordPress installation.
Here is the screenshot of WordPress admin panel once you login to WordPress Admin Dashboard giving your username and password.
Hope you understand, the process of How to Install WordPress on localhost XAMPP?
If you have any question or queries, you can mail us by going to Contact Page or by simply commenting down below.
I would try my best to help you solve your query regarding WordPress.