How to Install Localhost WordPress Using XAMPP – Beginners Guide

How to Install Localhost WordPress Using XAMPP

Do you want to learn How to Install Localhost WordPress Using XAMPP (Install XAMPP and WordPress) to make a WordPress website using a local server environment? XAMPP allows you to run a website from your own one PC. And as soon as you get it set up, you can begin a new WordPress install with only a couple of clicks.

But to really Install Localhost WordPress using XAMPP or set up a local server environment to make a WordPress website can be somehow tricky so you may require some assistance or a helping hand.

Note: On the off chance that you require a progressively or general guide on installing WordPress in a different local server environment – locally as well as on live servers too, then bounce over to this guide of ours.

Straight up, here’s actually How to Install Localhost WordPress Using XAMPP or a local server environment and make a WordPress website.

Step 1: How to Install Localhost WordPress Using XAMPP

Download and install XAMPP on your windows PC Firstly, you have to download XAMPP software and install it on your PC.

To download the XAMPP Windows installer file, go to Apache Friends. It’s kind of a big file, around 110 MB to 124 MB depending on the version you choose, so it might take one minute or so based on the speed of your connection.

Download XAMPP - How to Install Localhost WordPress Using Xampp
Download XAMPP

Once the download completes, run the Xampp setup file you downloaded to launch the XAMPP installer. In case you’re running an antivirus program, you may get a warning or notice as shown below:

Antivirus Notice Against XAMPP - How to Install WordPress on Localhost XAMPP
Antivirus Notice Against XAMPP

Simply click Yes to proceed. Depending on your Windows configuration, you may likewise get a prompt message about User Account Control (UAC). Simply proceed through that prompt also. When you get through each of the prompts, you should see the standard installer screen.

Starting XAMPP Setup - How to Install Localhost WordPress Using Xampp
Starting XAMPP Setup

Next Step

Simply click Next to proceed.

On the next screen, you can pick which components to install. To install XAMPP and WordPress, you don`t need all the components. Notwithstanding the required components you need majorly are:

  • MySQL
  • PHPMyAdmin
Selecting XAMPP Components For Install
Selecting XAMPP Components For Install

Uncheck everything else and click Next.

You would now be able to choose which folder to install XAMPP in. I generally leave it as the default

Select Installation Location - How to Install WordPress on Localhost XAMPP
Select Installation Location

On the next screen, you’ll be prompted to install Bitnami for XAMPP. You don`t need to bother with this, so just uncheck the box.

Uncheck Learn More About Bitnami For XAMPP
Uncheck Learn More About Bitnami For XAMPP

This is the most effective method to Install WordPress On Localhost Xampp As soon as you click Next, you’re ready to run the install.

Setup is Ready to Install - How to Install WordPress on Localhost XAMPP
Setup is Ready to Install

The install procedure may take a couple of minutes. When it completes, you can run XAMPP control panel to begin working with.

Completing Installation - How to Install WordPress on Localhost XAMPP
Completing Installation
Installation Complete - How to Install WordPress on Localhost XAMPP

Installation Complete

Step 2: How to Install Localhost WordPress Using XAMPP

Testing your server, Start the modules To install XAMPP and WordPress legitimately, you’ll have to run two modules.

  • Apache
  • MySQL

You can click the start for both Apache &MySQL from XAMPP control panel.

Start both modules - How to Install WordPress on Localhost XAMPP
Start both modules

as soon as you launch them, you should see their status turns to green.

Both Modules Ready & Active For Data Transfer - How to Install WordPress on Localhost XAMPP
Both Modules Ready & Active For Data Transfer

And now you will be able to test that your local server is working efficiently by going to http://localhost/in your internet browser, just any web browser of your choice.

In the event that all went well, you currently have a working XAMPP server on your Windows PC! In any case, presently it’s a great time to install XAMPP and WordPress. So here are the means by which to get a WordPress site ready for action on XAMPP.

Step 3: Now add the WordPress files

In the event that you’ve at any point installed WordPress before now, whatever is left of the process should feel entirely familiar. Firstly, you have to navigate to wordpress.org and download the latest version of the WordPress file in Zip format.

At this point, in Windows, explore the folder where you installed XAMPP. For me, that is C://xampp. It ought to be something similar for you. Then find the htdocs subfolder within C://xampp.I

Locating htdocs Folder - How to Install WordPress on Localhost XAMPP
Locating htdocs Folder

In htdocs, make another folder for your test site. This organizer name will turn into the sub-name used to get access to your site from your web browser. For instance, on the off chance that you make the organizer techy, you’ll get to your site by going to http://localhost/techy.

As soon as you create the folder, extract or decompress the WordPress.zip file you downloaded from wordpress.org into it that is into techy folder.

Test Site Folder - How to Install WordPress on Localhost XAMPP
Test Site Folder

Step 4:

Create a database for WordPress Next, you have to now create a MySQL database for your WordPress install. To do that, dispatch PHPMyAdmin from your XAMPP control panel or with your web browser, go to http://localhost/phpmyadmin.

Run MySQL Admin
Run MySQL Admin

 Then click on Databases at the left corner: Click New at the top left corner then enter a name for your database, select collation from the drop-down menu and click Create. Your name can be anything – simply keep it in mind or note it down since you’ll require it for the step ahead.

Locating Database
Locating Database

But unlike installing WordPress on a live web server, when you install XAMPP and WordPress, you don’t have to stress over creating a database user.

Step 5

Run the WordPress installer When you visit your test site, all things done well you should see the normal WordPress installer. Keep in mind, your test site is simply http://localhost/FOLDERNAME; for me it`s http://localhost/techy.

Creating Database Name
Creating Database Name

The only part where this procedure will be different from a typical install is the database details. As soon as you get to the database details, enter them like this:

  • Database Name = Enter the Database you already created in PHPMyAdmin
  • Username = “root”
  • Password = leave it blank unless you created one
  • Then complete whatever is left of the WordPress install process like normal.
WordPress Installer
WordPress Installer
Entering Site Details
Entering Site Details

When you complete the procedure, you should see your fresh out of the box/new WordPress install running smoothly on your localhost.

While running WordPress on your localhost, is an extraordinary method to trial and attempt with WordPress, you shouldn’t use it as a real staging site for a live site; Because it has an alternate or different hardware configuration than your live site.

So on the grounds that something works or doesn’t work on your XAMPP WordPress install doesn’t mean it will be the equivalent on your live development site.

Instead, use a subdomain or your host’s staging service because there are the best ways to make a WordPress staging site.

Wrapping things up

When you figure out how to How to Install Localhost WordPress Using Xampp for the first time, you can rapidly turn up new testing sites at whatever point required. Personally, I use XAMPP installs to review any number of themes and plugins.

Now, I likely have several separate WordPress installs running on XAMPP. So if you require any assistance with XAMPP and WordPress, leave a comment and I’ll endeavor to assist!

Don`t stay limited, get more on our WordPress related articles as detailed below.

So let`s get started with Installing WordPress and Start Building Your Website for Free from Scratch With Ease.

Jump to our other WordPress related articles on Methods on How to Install WordPress With Ease as Listed Below:

Thank you for reaching this point and learning our WordPress Tutorials; Was this article – How to Install Localhost WordPress Using Xampp – really useful and efficient? Please do leave a comment below and you can as well follow us PinterestFacebook, and Twitter for fast updates.

LEAVE A REPLY

Please enter your comment!
Please enter your name here