In this tutorial we will learn how to install WordPress 6.0 on your Windows 11 with WAMP in 2022.
Do you want to install WordPress on your Windows computer locally? Working with WordPress on your computer allows you to test new WordPress features, learn to develop with WordPress, and build websites before migrating them to your hosting. In this article, we are going to show you how to properly install WordPress on Windows using WAMP.
Why should you install WordPress on Windows?
Installing WordPress locally on your computer gives you a testing environment that doesn’t affect your website or blog. A WordPress installation on your computer is also called local server or localhost.
Normally, WordPress developers use the local WordPress installation to develop their plugins and themes. Beginner users can also install WordPress on their computers to learn WordPress, test new WordPress themes and plugins, and experiment without affecting a live website.
Note : If you are installing WordPress locally on Windows, only you can view this site. If you want to create a publicly accessible website, you need to have a domain name and web hosting.
Now we will know how to correctly install WordPress on Windows using WAMP.
What is WAMP?
WampServer is a Windows web development platform for dynamic web applications using Apache2 server, PHP scripting language and MySQL database. It also has PHPMyAdmin to manage your databases more easily.
All are separate open source software. However, installing them separately is not very easy, even for experienced users. Software such as WAMP allows you to easily install them and have a local working environment in minutes.
Step 1. Installing WAMP on Windows Computer
First, you need to download WAMP software and install it on your computer. Just go to the WampServer website and click on the ‘Experience WampServer’ button.
This will take you to the downloads section. You will see two versions: 32-bit WampServer and 64-bit WampServer. You must select the version of WampServer corresponding to the type of operating system of your computer.
To find out if you are using a 32 or 64 bit operating system, go to Control Panel » System and Security » System on your computer. There you can see the type of your operating system.
Once downloaded, you can click on the wampserver server runtime file to start the installation. Be sure to carefully follow the on-screen installation instructions.
During the installation process, you need to set the location of the web browser. By default, this will be Internet Explorer. You can change this to Google Chrome or any other web browser by locating it in the Files program on your computer.
Once installed, you can launch the WampServer to continue.
Step 2. Setting Up a Database for Local WordPress Setup
The next thing you need to do is create a blank MySQL database. When launching WAMP, a green WampServer icon appears in the lower right corner of your screen, along with other icons. Just click on it, then on phpMyAdmin (a web application for managing MySQL databases).
Note: If the WampServer icon is red or yellow, it means the services (Apache, MySQL, PHP) are not running. You must start the services by clicking the icon before configuring the database.
This will take you to your web browser’s phpMyAdmin login screen. Just enter the username: root and leave the password field blank. These are the default credentials to login to your localhost phpMyAdmin phpMyAdmin.
Then click on the ‘Go’ button to continue.
Once logged in, you need to click on Databases in phpmMyAdmin to create a new database for WordPress. It will ask you to choose a name for your new database (we named our test_db). After that, click on the “Create” button.
Your database is ready, which means you can now install WordPress on localhost.
Step 3. Installing WordPress on Windows Using WAMP
You then need to download the latest version of WordPress from the WordPress.org website. It will be downloaded as a zip file.
You need to extract the zip file and copy the ‘wordpress’ folder.
Now you need to navigate to the folder where you installed WAMP.
In this tutorial, we installed WAMP in C:\wamp64, so we will refer to this folder in the future. But keep in mind that it may be different for you depending on where you installed the program.
Paste the ‘wordpress’ folder in the C:\wamp64\www folder.
You can rename the ‘wordpress’ folder to anything you want, such as my site, testsite, etc. This will be the URL of your local WordPress site. So be sure to choose something that you will easily remember.
For the purposes of this tutorial, we have renamed the wordpress folder to mysite.
Then you can open web browser and go to http://localhost/mysite/
First, you will be asked to select a language and then show you the database configuration information. Once you have read it carefully, go ahead and click the ‘Let’s Go’ button to continue.
After that, you need to enter your database details such as database name, username, password, host and table prefix.
The database name will be the one you entered in the previous step. In our case, we called it ‘test_db’. The username will be ‘root’, and you can leave the password field blank. You can also leave the database host and table prefix as is.
Then click on the ‘Submit’ button and WordPress will create a configuration file for you in the backend.
On the next screen, you will see a success message indicating that WordPress is connected to your database and you can proceed with the installation.
Go ahead and click the ‘Start Installation’ button to continue.
This will take you to the WordPress welcome screen. You need to add a title to your new WordPress website, choose an admin username, enter a strong password, and provide an admin email address.
Once you are ready, click on the “Install WordPress” button.
Once the installation process is complete, you will see a success message. In the background, WordPress has created new tables in your database and is ready to use.
You can then access your WordPress dashboard by clicking on the “Login” button.
Congratulations, you have successfully installed WordPress on Windows using WAMP.
Step 4. Enable Pretty Permalinks in WAMP
The new version of WordPress does not prevent your local site from changing permalink settings.
Step 5. Troubleshooting WAMP Issues
WAMP is quite easy to use even for beginners. However, if you can’t get it to work, the following troubleshooting tips will help.
Resolve Skype WAMP Conflict
If Skype is installed and running, WampServer may not work properly due to a conflict with Skype. The conflict is caused by Apache and Skype using the same port 80. There is a simple solution to this problem.
Open Skype and go to Tools » Options. This will bring up a dialog box where you need to click on Advanced and then Connections.
Uncheck Use ports 80 and 443 as alternatives for incoming connections. Save options and restart Skype.
Install Visual C++ Redistributable
WAMP requires Visual C++ Redistributable for Visual Studio 2012 to run. If the latter is not installed on your computer, you can download and install it from the Microsoft website.
Having a local server environment is great for learning and testing. But remember, if you want to create a WordPress blog so other people can see it, you don’t need to have WordPress installed on your computer.
We hope this article helped you learn how to install WordPress 6.0 on Windows using WAMP.