Having a test Wordpress website is quite handy at almost every time. A test WordPress website can help us test things like themes, plugins, settings, etc.., before applying to the main productive site. Though you can have a test website created on your server with a sub-domain, it is much more practical and feasible to have it installed locally on your computer.
In case you are wondering, here are some benefits you get by installing Wordpress Locally.
Why Install WordPress Locally on Computer
There are several benefits you get by installing WordPress locally on your computer. Here are some of them.
- Locally installed WordPress site is much faster and responsive.
- You can access the locally installed WordPress site even without active internet connection.
- Locally installed WordPress site dramatically improves your workflow.
- The local installation will make it easy to backup your WordPress site.
- Often times, local installation can save some money as it is not wasting your precious web host resources.
So with above things in mind, here is how you can Install Wordpress Locally on your Windows computer. To install WordPress locally on Windows, we are going to use a free software called WampServer.
Install WordPress Locally on Windows
To install WordPress locally on Windows, head over to the official website and download WampServer depending on your system architecture. In my case, I’m downloading the 64-bit version.
After downloading the software, just install it like any other Windows software.
As part of the installation process, WampServer may ask you to choose the default browser. Just click on the button “Open.” There is no need for you to specifically choose a default browser.
Since we are not going to configure PHP mail at this time, let the defaults be and click on the button “Next” in the “PHP Mail Parameters” window to continue.
If you are prompted for Firewall permissions, simply click on the button “Allow Access.” Once the installation has been completed, select the checkbox “Launch WampServer now” and click on the button “Finish.”
The above action will launch the WampServer and you can see that in the taskbar. If everything is working perfectly, WampServer will let you know by changing its taskbar icon color to Green. You might want to wait a few seconds before the icon can change to green color.
Note: if the taskbar icon is staying in the orange color than there might be a problem with the Apache service. Here is how to solve Apache service not running in WampServer if you ever need.
To test it further, launch your favorite browser and enter “localhost” or “127.0.0.1” in the address bar and press the enter button. This action should display the WampServer homepage.
Now we can proceed to install WordPress locally on Windows. Before that, head over the official WordPress website and download the latest version of WordPress.
Once downloaded, extract the “WordPress” folder in the zip file to the location
C:\wamp\www\. After extracting, rename the folder to you liking. In my case, I renamed the folder to “bloggersignal.”
Now, we need to create a database for the local WordPress site. To do that, left-click on the WampServer and select the option “phpMyAdmin” from the list of options.
The above action will launch the “phpMyAdmin” page. On the phpMyAdmin home page, select the option “Databases” from the top navigation bar.
To create a new database, enter the new database name and click on the button “Create” under the “Create Database” section.
Once the database has been created, you will see the new database in the list. Since we are done creating database, close the page.
http://localhost/example-folder/ in your browser address bar and press the enter button. Don’t forget to replace, “example-folder” with the folder name you extracted earlier. Here in the WordPress installation screen, select your language and click on the button “Continue.”
WordPress will prompt that you need to add the database details. Just click on the button “Let’s go.”
Here in this screen, enter the database name and the username as “root” and click on the button “Submit.” WampServer by default has no root password. So there is no need for you to enter a password in the password field.
Now, click on the button “Run the Install” to start the WordPress installation procedure.
Finally, enter all the details like the site title, username, password, email address, etc.., and click on the button “Install WordPress.”
The above action will complete the WordPress installation process and you can just log into your new local WordPress site by click on the button “Log In.”
That’s all there is to do and it is that simple to install WordPress locally on Windows using WampServer. As I said before, if there is a problem with the Apache service not running in the WampServer, the follow this simple trouble shooting guide to solve the issue.
Do comment below sharing your thoughts and experiences about using the above approach to install WordPress locally on Windows.