Do you know that you can install WordPress on your own computer for learning purposes and testing? Yes, It’s true. Working with WordPress on your computer is a great way to test plugins, do some updates, change site design and other website upgrades before pushing them your live websites.
On this tutorials, we’ll show you how to install WordPress locally using WAMP.
The process of installing WAMP on your computer is also known as setting up a local server environment (“localhost”). Most of theme designers and plugin developers install WordPress on their local server environment to speed up their development phase time.
It’s a good idea to use WordPress on local computer, in order, to test any major/minor changes to your site. This way, you can immediately fix any issues before it reach your live website.
Let’s take a look,now, on how to install WordPress on your computer using WAMP.
What is WAMP?
WAMP, stands for W for Windows, A for Apache, M for MySQL and P for PHP. WampServer is one of the software for Windows computers to be a local server environment. You will need WAMP to be able to start and use WordPress on Windows environment. There are other clients for Windows such as XAMPP, but on this tutorial, we’ll use WAMPServer. It is free and easy to use.
First, Installation of Wamp Server on your PC
Visit my previous tutorial on how to install WAMP on your computer. See them below.
Once you are done with the installation, launch WampServer.
2. Set a Database for WordPress
Next, we’ll need to create a blank MySQL database for WordPress.
WampServer comes with phpMyAdmin, a web based application to manage MySQL databases. Click on the Wampserver icon in windows task bar and then click on phpMyAdmin.
The phpMyAdmin login screen will open in a new browser window. By default, the Username will be root, and you can leave the password field blank.
Once you’re logged in, click on Databases in phpmyAdmin to create a new database for WordPress. You will be asked to choose a name for your database (we used “jan-test”). After that click on the Create button.
3. Installation Process for WordPress
Now, we’re going to install WordPress. You will need to download a copy of WordPress from WordPress.org. After downloading the zip file, you have to open and extract it from downloaded folder.
After that, you need to navigate the folder where you installed WAMP.
On this tutorial, we installed it at E:\wamp64, so we’ll refer to that folder going forward. Keep in mind, it may be different on where you installed the program.
Paste the wordpress folder into the DRIVE-LOCATION:\wamp64\www folder.
You can rename the wordpress folder to anything you want, we manage to set as under DRIVE-LOCATION:/wamp64/www/wordpress/january/test . This will be the URL of your local WordPress site, so be sure to choose something you’ll remember easily. For the sake of this tutorial, we renamed our wordpress directory to /wordpress/january/test.
Now open your web browser and go to http://localhost/wordpress/january/test
The WordPress database setup will start automatically. First it will ask you to select your language.
After that it will show you some information about setting up your database. Just click the Let’s Go button when you’re ready.
On the next screen, you’ll need to provide your database information. The database name will be the one we made earlier, on this tutorial. In our case, we named it as “jan-test”.
Your default database username will be root and you can leave the password blank. Just let the table prefix, as it is.
Next, click on the submit button and WordPress will automatically create a configuration file on the designated wordpress folder you’ve made earlier.
After this, you will see on your browser informing you that, WordPress has successfully connected to your database, and you can proceed with the installation.
Go ahead and click the Run the install button.
Next, you can fill out the installation Information form. You will need to set your site title, admin username / password, and admin email address for local website details.
Once you’re ready, press the Install WordPress button. Then, it will redirect to login information box.
After logging-in, it will proceed to your WordPress Dashboard. It means, you have successfully installed WordPress on your computer using WampServer.
Congratulations! You deserve a pat at your back. Hooray! xoxo
Below are some additional tips and tricks:
1. Troubleshooting Skype Error
If it happen that you have already a Skype installed and running on your computer before the WampServer installed, then it may not be able to work properly due to a conflict with Skype. The caused was both Apache and Skype using the same port 80. Here is the simple fix for this. Open Skype and go to Tools » Options. Click on Advanced and then Connections. Uncheck the box that says Use port 80 and 443 as alternatives for incoming connections. Save options and restart Skype.
2. Enabling Permalinks
Permalinks will not work by default on your local server environment. All your URLs will look like localhost/sample_site/?p=18. If you go to Settings » Permalinks and use one of the other options, then it will show you “page not found” errors. We have already written about a solution here that will show you how to enable custom permalinks on WAMP.
3. Migrating from local server to Live server
Here’s a separate guide on how to push WordPress from local server to a live site. Hopefully, you’ll find it helpful when you are ready to deploy your local site to production site.
WANT TO GET INSPIRING, ACTIONABLE TIPS AND ADVICE ON TECHNICAL, WEB DESIGN AND CODE EVERY WEEK! SIGN UP HERE