Despite being one of the Systems Content Management (CMS: Content Management Systems) easier to use and available for free. WordPress has its own set of errors to contend with, most of which arise due to compatibility issues. The solution is to install a local WordPress testing site for Windows.
Having a local version for testing will allow you to test your site without fear of errors appearing on your live pages, or worse, that all will be completely paralyzed. Fortunately, setting up a local WordPress testing site for Windows is not as complicated as it seems.
In this post, we will see why you should use a WordPress test site and How to Install WordPress on Wamp. For this, we will show you how to do it in three simple steps.
Why Use A WordPress Test Site?
There are many reasons to use a local WordPress test site for Windows, some of which are:
- Using a local test site helps you eliminate compatibility issues between your themes, plugins and the WordPress kernel before they reach your live site.
- You can easily create a copy of your site, host it locally, run a test run and migrate it again once you have finished.
- The same principle applies to test any other theme or plugin.
- The local test sites are perfect for developers or web designers who want to keep their work private until they reach specific goals.
- This saves hosting costs and eliminates the risk of customers escaping with your work.
- If you like to try all things related to WordPress.
With all this in mind, it’s time to explain the process itself.
How To Install WordPress on Wamp For Windows:
There are three steps to launch your own local WordPress testing site for Windows. For this to be done we should download and install WordPress on wamp and them proceed. Let’s check all the 3 steps and install it. The 3 steps are as below
- Install Wamp Server.
- Create a Database for the WordPress Site
- Install WordPress on the Server.
Now Let’s start each step in a clear way. And if you want to Install WordPress on Linux then check this article.
Step 1: Install Wamp Server
This ingenious piece of software creates an entire web development environment on your computer. The first part of its name means Windows, Apache, MySQL, and PHP (WAMP). A combination that allows you to run a local web server. Let’s see how it works.
- First, download the corresponding installer for your Windows version (either 32 or 64 bits, from the main WampServer page).
- When you finish the download, follow the installation process.
- Continue clicking Next until the installer asks you if you want to change the default browser (default is Internet Explorer).
- Find the executable for your replacement browser in the Program Files folder and then repeat the process (if you wish) when the installer asks you about your text editor.
Once the installation is complete, go to your Start Menu and click on Wampserver64 (or Wampserver32 depending on your version). The WampServer icon will appear in the system tray. That’s it for this step.
Step 2: Create a database for your WordPress site:
Take a look at the WampServer icon in your system tray. The red color indicates that your server is not running. The orange means that you need to configure your Apache web server, and the green means that everything is fine.
If your icon is green, you can go directly to the creation of a database. Assuming that your Apache web server is not working properly, it is most likely that the culprit is another application that uses the same port. To find out if this is the case, right-click on the WampServer icon and navigate to Tools » Test Port 80. You should see the following error:
Close the error screen and go to Tools » Use a port other than 80. The application will suggest an available port, click OK.
Your icon should turn green immediately. If not, click on it and select Restart All Services. Try it by going to the address of your localhost (for example, http: // localhost: 8080 or http://127.0.0.1:8080 ) using your default WampServer browser. For this tutorial, we will stick to http: // localhost: 8080, but yours may vary depending on the port you are using.
The next step is to create a database for our future installation of WordPress. Go to the Tools section of your localhost page and click on PHPMyAdmin
On the next screen, enter root as the username and leave the password blank. Go to the Databases tab at the top of the screen, enter a name for the new database and click Create.
Now you have a new database ready to use. It’s time for WordPress to work on this local server.
Step 3: Install WordPress on your new server:
For this step, download the latest version of WordPress and extract the WordPress folder. You can move it to the www directory of your WampServer, or simply extract the folder there.
Your WordPress files should now be in wamp64> www> wordpress, although you can name that last folder the way you like, we are left with WordPress to simplify.
To start the WordPress configuration, go to http: // localhost: 8080 / wordpress / . You should see the language selection screen of the famous WordPress installer.
Select the chosen language and click Continue. Read the information on the next screen and click on Let’s go, once you have finished.
Next, enter the name of the database you just created, as well as your username and password. As we do not actually change ours, simply type root in Username (username) and leave the password blank. Modify Table Prefix if you wish, but do not replace the Database Host as it could cause problems later.
Normally, you should always (we want to highlight it) establish a different username and a complex password, as well as change the prefix of your database for security reasons. We are skipping that since we are creating a local installation for personal use. Finally, fill in the fields of the last screen and we will have finished.
And you’re already on your new local WordPress testing site for Windows.
Of course, you can search for a suitable theme for your new site.
Setting up a local WordPress testing site for Windows may sound complicated, but it can save you a lot of time and long-term headaches. Fortunately, it only takes three steps to get it going. Hope you love the article and like us and share the article with your friends at social networking sites.