WP Support Desk

Your 24/7 WordPress Support Team

  • Schedule a Call
  • WordPress
  • WordPress Development
  • WordPress Hosting
  • WordPress Maintenance
  • WordPress Plugins
  • WordPress Security
  • WordPress Support
  • WordPress Themes
  • Website Checklist
Home » How to Install WordPress on Localhost

How to Install WordPress on Localhost

Last Updated: February 4, 2021 by WP Support Desk 2 Comments

  • Total25
How to Install WordPress on Localhost

Before you go ahead and start to build a website, you might want to test it on a local host. This post is a step by step process of how to install WordPress on localhost.

For installing WordPress first you need to install any localhost service providers.

  • Flywheel
  • WAMP
  • MAMP
  • LAMP
  • XAMPP

Let’s get started with FLYWHEEL!

How To Install FLYWHEEL?

Already installed FLYWHEEL? Just skip this step.

Otherwise, follow these simple setups and get the FLYWHEEL installed.

Step 1- Visit FLYWHEEL Website

Go the official website of FLYWHEEL

local by flywheel

Step 2- Choose Your Platform

Click Free download tab and choose your platform from dropdown.

download flywheel

Have you selected your platform? Good!

Let’s go with the Windows option.

download flywheel

An email address is a mandatory field. Enter your email address and remaining fields accordingly, if required. Click GET IT NOW! tab. You will get a downloading confirmation text.

download flywheel

Step 3- Install Local by FLYWHEEL

Downloaded the FLYWHEEL? Let’s install it.

  • Choose the installation option accordingly. 
  • Select the location where you wanted to save the files. 

Once the installation set is done? Click Finish. 

install flywheel step 1

Open the FLYWHEEL!

install flywheel step 2

Now you’re ready to create your first local site!

In the top-left corner, there’s an Options menu to let you configure various settings and preferences. There are several options to choose from. 

Cheers! You have completed the FLYWHEEL installation process!

How To Install WordPress on FLYWHEEL?

Installed the localhost server FLYWHEEL? Excellent!

Let’s get going with WordPress!  

 Step 1:  Create Your WordPress Website

Open FLYWHEEL.

Click on create a new website.

create website with flywheel step 1

Step 2: Enter the Name of Your Website

When you click on create a new site tab. If will direct you on the next page. 

Enter your website name in the text field. It will automatically choose the Local site domain and Local site path. You customize both of them.

create website with flywheel step 2

By default! Create a site from the Blueprint option is off. You can check it and choose Blue Print for your website if you wanted to do so.

Blueprint means a default template of a website in which you have already installed your themes, plugins, packages to use it again and again. 

Click CONTINUE.

Step 3: Choose Your Environment

Here, you have two options to choose your environment. Preferred or Custom.

Choose Preferred to set up your local site using a recommended set of tools or select Custom to configure your environment.

create website with flywheel step 3

After choosing the required environment, Click CONTINUE.

Step 4: Setup WordPress

Its time to set up your WordPress. 

Enter WordPress Username, WordPress Password, and WordPress Email.

create website with flywheel step 4

From advance options, you can choose the option is this WordPress multisite? By default, it’s no! you can choose yes if required. 

Being a multisite website means that all share the same WordPress installation, database, plugins, themes, and updated network-wide.

Click Add site.

Congratulations! Your WordPress website has been created on FLYWHEEL successfully.

WordPress on Flywheel Dashboard

Let’s take a tour of the WordPressonFlywheel dashboard. 

You will have quick information on your website in overview section like PHP version, your database details, WordPress version details.

create website with flywheel step 5

You can change your Site domain also.

create website with flywheel step 6

To access the admin portal click Admin tab and to view your site click VISIT SITE tab.

Get your database details from database tab like Host, Port, Database Name, username, password.

create website with flywheel step 7

Wanted to create your database? Click on OPEN ADMINERand create a database there.

Now we will see how to install WordPress on localhost – XAMPP

How To Install XAMPP?

Already installed any localhost server? Just skip this step.

Otherwise, follow these simple setups and get the XAMPP installed.

Step 1- Visit the XAMPP Website

Go to the official website of XAMPP.

local host XAMPP

Step 2- Choose an Operating System

You can see different versions of operating systems. Choose the best one!

Download XAMPP

Click on the download button and get the XAMPP downloaded. 

Step 3- Install & Run the XAMPP on Your PC

After downloading the software, unzip it. 

When the file is ready, just select the Install button or click on it twice. Soon installation process has begun.

Setup XAMPP

Next, Check the required check-boxes.

Configure XAMPP

Choose the path, where you wanted to place it.

Configure XAMMP settings

Check any of the given networks and go ahead by clicking on the Allow access button.

Configure XAMMP settings

Select language and click on the Save button.

Configure XAMMP settings

Now, just mark this question box and click on the Finish button. 

The XAMPP control panel will automatically run on your device.

complete XAMPP installation

Cheers! You have completed the XAMPP installation process!

How To Install WordPress on XAMPP?

Installed the localhost server XAMPP? 

Let’s get going with WordPress!  

 Step 1:  Install the WordPress

Install WordPress from its official website. To do so, click here.

install WordPress

Step 2: Unzip the Folder.

Next, unzip the downloaded WordPress file. 

C drive > XAMPP  > htdocs > new folder

Unzip the folder

Step 2: Create a Database

Create your database on PHPMyAdmin.

Create Database

Rename the WordPress folder with your database name i-e: I am using WordPress_test name here.

Step 3: Get Started With the URL

First, make sure your localhost service provides – XAMPP is running.

Get Started with the URL
  • On your browser, enter the URL.

localhost/databasename 

localhost/databasename

Select the language > press the Continue button.

  • Read the instructions carefully and click on Let’s go button!
let's go
  • Next, you will find a form. Fill the fields. 

Database Name > Enter your database nameUsername > Enter your usernamePassword >  Enter your Password

fill form fields

If you have entered the correct information, you will be notified as:

Step 4: Run Installation

Click on the run installation tab.

You will get a form, enter the required fields and click on the Install WordPress tab.

Run Installation

Once done! You will get a success message!

sucess!

Step 5: Login the WordPress Account

Enter your username and password.

And Get Started!

WordPress dashboard on local host

Congratulations! You have completed the XAMPP installation process!

Want to build your own WordPress Website? Click here!

We hope this post has been helpful in showing you how to install WordPress on your own localhost – web server.

If you still need help, feel free to shoot us an email using this form. 

Also feel free to email us if you need any WP Support.

Professional Blog Setup Service In Just $79

Hate wasting time? Our expert blog setup service will save you time & $$$.

Click here to start

You will Get

  • Hosting selection advice
  • WordPress installation
  • Premium theme
  • Contact form setup
  • Pro security plugin
  • Yoast SEO plugin initial setup
  • Speed optimization

FAQs

Can I transfer WordPress site from localhost to another localhost?

Yes! You can transfer a WordPress site from one localhost to any other. Export your database from first localhost and then import it on the second localhost server. 

How to move live WordPress site to localhost?

Follow these steps and transfer your live WordPress site to Locahost
1. Download your WordPress Files via File Manager / FTP.
2. Export the Website Database.
3. Create New Database
4. Import it.
5. Replace Live Site Url with Local Site URL in database.
6. Host WordPress Files to Local Server.
7. Configure database changes in wp-config.php.
8. Test the WordPress Localhost Website.

  • Total25

Filed Under: WordPress Support

WP Support Desk

We are a team of WordPress consultants, developers & customer happiness support members who are consulting, developing, maintaining and providing WordPress support since 2010.

Comments

  1. Yashvardhan Rana says

    November 18, 2021 at 8:04 am

    Hey,
    Thank you for this blog on WordPress on localhost, its very well explained. I just wanted some more help. I tried doing this and it worked fine for this first two times but then Xampp started showing error of ports with both apache and MySQL. So I tried finding the solution online but none of them worked like changing configuration of apache and all(after changing configuration, WordPress doesn’t work. It shows URL not found). Then I reinstalled Xampp and tried again but after 2-3 times, it again started showing the same error. Can you please give me a solution to this or tell me what’s going wrong. It will be really helpful.

    Reply
    • Komal Haider says

      November 19, 2021 at 12:06 pm

      Hi Yashvardhan,
      This error usually occurs when the user is running 2 servers simultaneously, it may be Xamp and a local server running side by side. Try running only 1 server at a time. If the issue is still not resolved then change the port number by following the given steps :
      Solution for windows users: XAMPP
      Go to: path:\xampp\apache\conf\extra
      Open file named httpd-vhosts.conf
      comment below lines if they are enabled: comment all lines in between all lines between
      For Detail and Visual Guide use the following link and see the green tick (approved) solution : https://stackoverflow.com/questions/11294812/how-to-change-xampp-apache-server-port
      Hope this helps. However, We recommend you to use the localbyflywheel which is the latest trend and is self driven and no such issues are reported by the users.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

WordPress Guides

  • What is WordPress? All You Need to Know
  • How to Build a Website – Start With Why
  • How to Build a WordPress Website From Scratch
  • How to Decide the Best Hosting for WordPress
  • What is WordPress Management? All You Need to Know
  • Best WordPress Plugins – Ultimate List
  • Ultimate WordPress Security Checklist – Updated 2020
  • 15 Best WordPress Themes for Blogs, Business & Ecommerce
  • Image Optimization for WordPress in 2020: Everything You Need to Know
  • How to Conduct a WordPress Site Audit – A Compete Guide
  • WordPress Speed Optimization – A Complete Guide

Professional Blog Setup Service In Just $79

Hate wasting time? Our expert blog setup service will save you time & $$$.

Click here to start

You will Get

  • Hosting selection advice
  • WordPress installation
  • Premium theme
  • Contact form setup
  • Pro security plugin
  • Yoast SEO plugin initial setup
  • Speed optimization
footer logo

SERVICES

  • WordPress Development
  • WordPress Support
  • WordPress Maintenance
  • Blog Setup Service

RESOURCES

  • What is WordPress? All You Need to Know
  • How to Build a WordPress Website From Scratch
  • WordPress Website Launch Checklist – Updated 2023
  • Ultimate WordPress Security Checklist – Updated 2023
  • How to Conduct a WordPress Site Audit – A Compete Guide
  • WordPress Speed Optimization – A Complete Guide
  • Yoast SEO Plugin – A Complete Guide for On-Page SEO in 2023

COMPANY

  • About Us
  • Blog
  • Contact WP Support Desk
  • ©2023 WP Support Desk
  • Affiliate Disclaimer
  • Terms of Service
  • Privacy Policy
WP Support Desk is the trading name of BTLtimes.com Limited Registered in England & Wales | Company No: 07204533

Copyright © 2023 · WP Support Desk on Genesis Framework · WordPress · Log in

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT