Local by Flywheel

localwp.com

The Modern Way to Build WordPress Sites Locally! 🚀

⬇️

🤔 What Is Local WP?

Your WordPress Development Superpower

LocalWP.com (formerly known as "Local by Flywheel") is a powerful free tool that lets you create and manage WordPress websites on your own computer in seconds! It's like having a complete web server in your pocket—no hosting, no internet connection required! ⚡

Imagine being able to build, test, and perfect WordPress sites on an airplane, in a coffee shop, or anywhere else—completely offline. That's the magic of Local WP! It's the #1 choice for WordPress developers, designers, and agencies worldwide.

💡
Fun Fact: Local WP is developed by WP Engine (a leading WordPress hosting company) and is used by over 1 million developers worldwide. It's completely FREE and packed with professional features!

✨ Why Developers Love Local WP

One-Click Setup

Create a new WordPress site in under 60 seconds with zero configuration!

🎨

Beautiful Interface

Modern, intuitive UI that makes local development actually enjoyable!

🔧

Advanced Tools

Built-in SSL, email testing, WP-CLI, and database management!

🌐

Live Links

Share your local site with clients instantly using secure shareable URLs!

🔄

Easy Migration

Push and pull sites from live servers with built-in deployment tools!

💯

100% Free

All features completely free forever—no hidden costs or limitations!

⚙️ How Does Local WP Work?

Download & Install

Visit localwp.com and download the free app for Mac, Windows, or Linux. Installation takes just a few minutes! 📥

Create Your First Site

Click the big "+" button, name your site, and Local WP automatically sets up WordPress, PHP, MySQL, and a web server—all configured perfectly!

Choose Your Environment

Select your preferred PHP version, web server (Nginx or Apache), and MySQL version. Or just use the smart defaults!

Start Building

Access your site via a custom .local domain, install themes and plugins, and develop without limits—all on your computer!

Use Pro Tools

Enable SSL with one click, test emails, access the database with Adminer, and use WP-CLI for advanced operations!

Deploy When Ready

Export your site or use the Connect feature to push directly to WP Engine, Flywheel, or any hosting provider! 🚀

🎮 Visual Demo

Inside the Local WP Interface

🎨 My Portfolio
http://myportfolio.local
Running PHP 8.1 SSL Enabled
🛒 E-commerce Store
http://mystore.local
Stopped PHP 7.4
📝 Blog Project
http://myblog.local
Running PHP 8.2
Multiple Sites, Zero Hassle: Manage unlimited WordPress sites, each with its own PHP version, database, and configuration. Switch between them instantly!

💻 Technical Features

Creating Your First Site

# Step 1: Launch Local WP application

# Step 2: Click the "+" button to create new site

# Step 3: Enter site details:
Site Name: "My Awesome Site"
Domain: myawesomesite.local

# Step 4: Choose environment (or use defaults):
PHP Version: 8.1.9
Web Server: nginx
MySQL Version: 8.0.16

# Step 5: Set WordPress admin credentials:
Username: admin
Password: your-secure-password
Email: your@email.com

# Step 6: Click "Add Site" and wait ~60 seconds!

# Your site is ready at:
https://myawesomesite.local
https://myawesomesite.local/wp-admin
💡
Pro Tip: Use descriptive site names! Instead of "test1", try "client-redesign" or "portfolio-v2" for better organization.

Enabling SSL (HTTPS)

# Enable SSL with one click in Local WP:

# Step 1: Open your site in Local
# Step 2: Go to "SSL" tab
# Step 3: Click "Trust" button

# Local automatically:
# ✓ Generates SSL certificate
# ✓ Installs it in your system
# ✓ Configures WordPress for HTTPS
# ✓ Updates all URLs in database

# Your site now runs on:
https://mysite.local # Secure!

# Why SSL matters for local development:
# - Test secure features (geolocation, camera, etc.)
# - Match production environment
# - Avoid mixed content warnings
# - Test payment gateways properly

# Certificate details:
Issuer: Local by Flywheel
Valid for: 825 days
Encryption: SHA-256 with RSA
🔒
Security Note: Local's SSL certificates are self-signed and only valid on your computer. They're perfect for development but not for production sites!

Using WP-CLI

# Access WP-CLI in Local:
# Right-click site → "Open Site Shell"

# Common WP-CLI commands:

# Check WordPress version
wp core version

# Install a plugin
wp plugin install contact-form-7 --activate

# Update all plugins
wp plugin update --all

# Create a new user
wp user create john john@example.com --role=editor

# Search and replace in database
wp search-replace 'oldsite.com' 'newsite.local'

# Export database
wp db export backup.sql

# Import database
wp db import backup.sql

# Flush rewrite rules
wp rewrite flush

# Generate dummy content
wp post generate --count=50

# Check site health
wp site health status
Power User Tip: WP-CLI is incredibly powerful! You can automate almost any WordPress task. Learn more at wp-cli.org

Live Link Sharing

# Share your local site with clients/team:

# Step 1: Open site in Local WP
# Step 2: Click "Enable Live Link" button
# Step 3: Get shareable URL like:

https://abc123xyz.localwp.com

# Features of Live Links:
# ✓ Secure HTTPS connection
# ✓ Password protection available
# ✓ Works from anywhere in the world
# ✓ Updates in real-time as you develop
# ✓ Expires after 24 hours (can extend)

# Perfect for:
# - Client previews
# - Team collaboration
# - Mobile device testing
# - Quick demos

# Security options:
Password: your-custom-password
Expiration: 24 hours (or custom)
Access logs: View who accessed

# Stop sharing anytime:
# Click "Disable Live Link" to revoke access
🌐
Game Changer: Live Links eliminate the need for staging servers during development. Show work-in-progress to clients without deploying!

❌ Common Mistakes to Avoid

1. Not Starting the Site Before Accessing

⚠️
The Problem: Trying to access your site URL when the site is stopped results in "This site can't be reached" errors.
The Solution: Always click the "Start Site" button in Local before accessing your site. Look for the green "Running" status indicator!

2. Using Same Site Name Twice

⚠️
The Problem: Creating multiple sites with the same domain name causes conflicts and routing issues.
The Solution: Use unique, descriptive names for each site. Local will automatically create unique .local domains for you!

3. Forgetting to Export Before Deleting

⚠️
The Problem: Deleting a site in Local permanently removes all files and database—there's no undo!
The Solution: Always export your site first! Right-click → Export to create a backup .zip file before deleting anything important.

4. Mismatched PHP Versions

⚠️
The Problem: Developing on PHP 8.2 locally but your live server runs PHP 7.4 can cause compatibility issues and errors.
The Solution: Match your Local PHP version to your production server. You can change PHP versions anytime in site settings!

5. Not Using Version Control

⚠️
The Problem: Making changes without version control means you can't easily revert mistakes or track what changed.
The Solution: Initialize a Git repository in your theme/plugin folders. Local makes it easy to find your site files—right-click → "Reveal in Finder/Explorer"!

🚀 Pro Tips for Power Users

💡
Use Blueprints: Create site templates with your favorite plugins and themes pre-installed. Save hours on every new project by starting from a blueprint!
📧
Test Emails Locally: Enable the built-in MailHog feature to capture all outgoing emails. Perfect for testing contact forms and notifications without sending real emails!
🔍
Use Adminer for Database: Local includes Adminer (better than phpMyAdmin). Access it from the "Database" tab to view, edit, and query your database!
🎯
Keyboard Shortcuts: Learn Local's shortcuts! Cmd/Ctrl + N for new site, Cmd/Ctrl + O to open site shell, Cmd/Ctrl + W to close tabs. Work faster!
🔄
Connect to WP Engine: If you host with WP Engine, use the built-in Connect feature to push/pull sites directly—no FTP or manual migration needed!
🎨
Test Across Devices: Use Live Links to test your local site on real mobile devices, tablets, and different browsers without deploying to staging!

🎯 Test Your Knowledge!

Interactive Quiz 🧠

Let's see how much you've learned about Local WP!

Question 1: What is the main advantage of Local WP?

A) It hosts WordPress sites on the cloud
B) It lets you develop WordPress sites locally on your computer
C) It's a WordPress theme builder
D) It's a backup plugin for WordPress

Question 2: What domain extension does Local WP typically use?

A) .dev
B) .local
C) .test
D) .localhost

Question 3: What feature allows you to share your local site with others?

A) FTP Upload
B) Cloud Sync
C) Live Link
D) Site Export