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.

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.

Source: https://wpsupportdesk.com/blog/how-to-install-wordpress-on-localhost/



You might also like this video

Leave a Reply