Local WordPress Development – How to Run WordPress Locally?

If you are new to web development, it’s very likely that you’ve heard the term Local WordPress Development or Running WordPress Locally at least once before.

In this article, I will cover the basics of Local WordPress Development so that you have a clearer understanding of what exactly it entails, how it can benefit your WordPress career and how to get started with it.

In this guide, you will also know more about

Local WordPress Development with LOCALWP

What is LocalWP?

LocalWP is a simple software that allows you to run a local development environment for WordPress. It takes care of creating a database, installing WordPress with default themes and plugins and it have many more features like MailHog, LiveLinks, installing Add-ons.

As If you are using XAMPP/MAMP, running a website locally can be quite a hassle because there are some prerequisites you have to meet before you get started.

First off, you need install XAMPP, then you need create database, download WordPress file, start web server software (Apache), PHP, and MySQL which usually is time consuming.

This is where LocalWP comes in handy because it takes care of all these things for you with just few clicks.

LocalWP vs XAMPP

You can install WordPress on your PC using different approaches: One is by using LocalWP and another by using XAMPP

LocalWPXAMPP
Mainly optimized for WordPress DevelopmentMainly used to Develop PHP Applications
WordPress Installation is easyNeed more time for Installation
Graphical User Interface is bestGUI is not best compared to LocalWP
Easy to set up new themes and pluginsDifficult to set up new themes and plugins
Resetting password is very easy using MAILHOGAccess your database in PHPMyAdmin.
Share the development of your local website using LiveLinks to anyone on the internetThere is no facility of LiveLinks

How to Install LocalWP?

If you’re a developer and you want to test a new theme or plugin on your local host, then you’re in luck. LocalWP makes it incredibly easy.

Here are four simple steps that can help set up your WordPress site up and running quickly. All you need is few clicks, configuration and a few minutes of your time.

Let’s get started!

Step 1

Step 2

  • Install LocalWP to your PC ( Mac, Windows, and Linux)

Step 3

Now you get to see the cool interface.

  • Click on Create a New Site
Create a New site
  • In the next step, enter your project/sitename and click on Continue.
  • Here you will get the local site domain as yoursitename.local, you can browse it using this link.
sitename in LocalWP
  • Here you can choose environment. It has predefined preferred environment as well as you can set up Custom environment.
  • You can select PHP version, Web Server between nginx & Apache, select database between MariaDB & MySQL.
  • After setting up click on Continue.
choosing environment in LocalWP

Step 4

In the final stage,

  • You have to set up WordPress Username & Password.
  • Don’t change WordPress Email.
  • Also, if you want to create multisite then you can also find the option here.
  • After setting up click on Add Site.
WordPress setup in Local WordPress Development
  • Here, you need to wait few minutes for total WordPress setup.
LocalWP Live Interface
  • After that Enable the site inorder to access your site from browser (as in screenshot no. 1).
  • Now access your site by clicking Admin in your browser. (Screenshot no. 2).

MAILHOG – Reset Password

When you forget your WordPress login credentials in LocalWP then it’s easy to reset password using MailHog. As earlier, while setting up the software, LocalWP has created an email address which can be used to reset password.

LocalWP Login Area
LocalWP Login Area
  • Go to your local project URL.
  • Click On Lost your password.
  • Enter your username/email address.
  • Now, you to your LocalWP interface.
  • Click on Tools > MailHog > Open MailHog.
  • Check the latest email where you may have get the Password Reset email.
  • Click on the link and set new password.
MailHog Reset Password

One of the best features of LocalWP is that you can share your locally hosted project from your local WordPress development area to anyone on the internet using LiveLinks.

The LiveLinks helps push the site live without needing the remote server which is one of the handy features in LocalWP.

Enabling Live Link in LocalWP
  • After visting to LocalWP interface. Enable the site project.
  • In order to enable Live Links you need to login to LocalWP.
  • After that Click on Enable.
  • Now you will be able to copy and share the link to your teammates.
  • Note that you need to share the livelink username and password.
  • Go to Tools > Live Links to get URL, Username, and Password.
Livelink login Credential

At the End

Furthermore, you can push your site to live hosting from the Local WordPress Development area. Recently, LocalWP by Flywheel has made all pro features available to download and use it. so, enjoy the LocalWP which is available in Mac, Windows, and Linux.

Currently, LocalWP supports syncing your locally hosted projects to FlyWheel and WPEngine where you can pull and push your site with few clicks.

If you have any queries related to LocalWP and its features then you can post directly to the comment area.

Share:

GET 100+ FREE SEO TOOLS

Quickly access over 100+ popular SEO/Marketing tools to Boost your website traffic.

Thank you for subscribing. Check your Email(Didn't receive? check Spam Folder)

Something went wrong.

I am obsessed with WordPress and write articles about WordPress Speed Optimization, SEO, Blogging. I mostly publish tutorials on GeneratePress and GenerateBlocks.

2 thoughts on “Local WordPress Development – How to Run WordPress Locally?”

Leave a Comment