When you develop a site on your local machine you don’t have to worry about the time and bandwidth used in uploading files, or hiding development sites from view until they’re ready to be published.
Having a local version of your site locally also provides you with a staging environment where you can easily test any site changes out of view of the public and make sure everything is working properly before you make the same changes on the live server. It also means you always have a backup of your site saved incase anything goes wrong.
Up until now, the main disadvantage of developing WordPress locally is that it’s quite a bit more technical than the famous WordPress 5-minute install. You need to install a local server, create a database, and manage all of the server admin and site setup yourself.
Now a new free tool, Local by Flywheel, is taking away the headache of local WordPress development and making it easy for anyone to set up a staging environment on their own computer.
Local by Flywheel aims to make WordPress installation on your local computer as fast and easy as it is on popular webhosts.
The tool is designed to help web designers and agencies focus on what they do best, without needing to worry about complicated technical backend setup.
Local can be installed on both Mac and PC and is a completely free download.
Features of the tool include:
Flywheel is a managed WordPress hosting environment, created for designers and agencies so they can concentrate on the core business of creating sites and leave the technical management to someone else. Features include managed caching and performance, enhanced security, managed updates, and premium support. Prices start from $15 per month for hosting a single site, however you don’t need to be a Flywheel customer to use Local.
With Local, you can create a new site locally in minutes and without any need for complicated setup, easily demonstrate the site and request feedback from clients, then publish the site when you’re ready to launch.
This tool was only acquired by Flywheel in December 2016 (it was previously known as Pressmatic and cost $129) and is still in its early stages so you can expect some exciting developments in the coming months. Additional features already planned include:
These extra features will most likely be available in a Pro version of the software, which is not yet available but you can sign up now to be informed when the beta version is ready.
Using this tool is pretty intuitive but if you’d rather be guided through the process, you can use this step-by-step guide to get started:
Head to local.flywheel.com and click the “free download” button. You’ll be prompted to select whether you want the Mac or Windows version of the software, enter your name and email, and the download will then start. The file itself is about 500MB.
After running the downloaded program, you’ll be walked through the installation.
VirtualBox will be installed for you and a virtual machine will be created. You’ll be asked to provide your admin password.
After the initial setup is complete, it’s time to create a new site:
Click the “Add Site” button and you’ll be prompted to enter some basic site setup information. You can choose any site and domain that you wish:
Click on the Environment section to choose the versions of PHP and MySQL (the most up-to-date version is advised in most cases) and the webserver you prefer (Apache or nginx):
Finally, click on the WordPress section to choose whether you want a standard or Multisite WordPress installation, and set the admin details:
Once you’ve finished filling out everything, go ahead and click the “Add Site” button.
Local will then go ahead and start setting up the site and downloading and installing WordPress for you (you’ll be promted for your admin password again. When the process is complete, you should get a summary screen and your site will appear in the bar on the left with a green icon to show the site is running and everything is working properly:
That’s it! You can now click one of the buttons at the top of the summary screen to be taken either to the homepage or the admin dashboard of your new local site:
From here, you can go ahead and install themes and plugins and work on your site locally, just as you would if it was hosted on an external webserver.
If you want to change any of your server setup, you can do this from the Local by Flywheel dashboard, including changing the PHP version, changing the web server, and changing the site domain.
Clicking on the database button will show you your database details:
The buttons at the top of this screen will download database management tools for you to install locally if you want to go in and do any tinkering with your database manually.
Clicking the SSL button will show you certificate information and allow you to set the certificate as trusted. This allows you to test secure access to the site for example if you’re setting up an eCommerce site or another type of site that requires secure access:
The utilities tab provides links to Mailcatcher, which catches outgoing emails from WordPress and allows you to see them – very useful for testing email sent from the site.
Live link allows you to create demo links of your site in progress that can be sent to clients or anyone else who wants to see the site while in development.
If you want to use this feature, you’ll need to install an add-on, which you can find in Settings > Add-ons:
If you then go back to Live link in your site settings and click the “Enable” button, you’ll get a link which can be pasted into your web browser and accessed by anyone you give it to:
The live link dashboard button takes you to a screen where you can see information on requests to the site, which can be useful for testing and debugging:
The blueprints feature of Local by Flywheel is very handy if you create a lot of WordPress sites and want to save time spent on installing plugins and themes and setting up sites the way you want them.
To use this feature, create a new site that has all the plugins and settings you wish to use on new sites, and right-clicking it from the menu:
Click “Save as Blueprint” to create a new blueprint based on this site setup. You can create a name for the blueprint and set the PHP version and web server before you save it:
To create a new site using this blueprint, click the + icon in the bottom left corner and choose “Add site from blueprint” from the pop-up menu.
Cloning your site will create an exact copy of it. This can be useful for testing out multiple versions of sites with slightly different designs or settings. To use this feature, right-click on the site you want to clone and select “Clone” from the contextual menu:
You can then choose a name for the site clone and it will be installed and setup on your local server.
As well as creating new sites from scratch, you can also add an existing site from an archive. If you have a live site you’d like to import into Local by Flywheel, the easiest way is to use a plugin like Duplicator, which will save all your site files and database into a package as a .zip file.
If your site is already saved locally on your computer, you can also create a zip file that contains an export of your WordPress database and your wp-content directory. All other files are optional (WordPress files will be downloaded if necessary) but will still be imported.
Once you have your .zip file, you can either drag and drop it into local, or use the “Add site from archive” option when you click the + icon to add a new site.
Once you’ve finished developing your site and you’re ready for it to go live, you can export the site. If you have a Flywheel hosting account and plan to launch there, right-click on the name of the site and choose “Export” from the pop-up menu:
After setting any file exclusions and choosing the name of the export file, click the export button to create a .zip archive of your site. You can then upload this file to migrate the site directly to your Flywheel account.
To import the site to another webhost, use Duplicator or another backup plugin to first create an export of the site and then import it to the live hosting environment. You can read a full tutorial of how to do this, here.
If you develop a lot of WordPress sites, you should have realized by the end of this article what a useful tool Local is and how it’s really a game changer when it comes to local site development.
The software is simple enough for non-techies to use, but there are also plenty of advanced settings and add-ons available for those who want to get into the complexities of WordPress site creation.
Local by Flywheel would be worth installing just for the core functionality but the features like live link and blueprint creation really make it amazingly useful for any web designer or developer.
All this being said, It’s pretty unbelievable that you can get all this for free. I’ll definitely be using Local by Flywheel for site development from now on, and I’m looking forward to seeing what enhancements the team comes up with in the future.
Trying to figure out how to start an online course so that you can share…
Considering using LearnDash to create online course content with WordPress? LearnDash is a popular WordPress…
WordPress XML files see a lot of use for me as a content creator, and…
If you’re looking for a way to deliver an online course, complete with all the…
Search Engine Optimization (SEO) is crucial for any website that wants to maximize its traffic…
Kinsta is a notable brand in the WordPress hosting space. The standout aspect of the…
View Comments
Nice review.
The only thing I don't like about Local is that it uses the default table prefix and it is not easy to change that either.
Why is table prefix an issue? Why change that?
Anybody else having the problem of images not showing when sending the url " live link" to a client?
Compared to other WordPress hosting companies , Flywheel puts lots of effort to stay on top.Flywheel is a WordPress hosting and management company build for designers and agencies.Flywheel’s hosting automatically updates the core WordPress software for you.Flywheel’s hosting has a record uptime of 100% and a lifetime uptime achievement of 100%. They are currently leading the charts and have many industry leaders. The WordPress hosting allows you to easily create a staging version of your site. Flywheel WordPress hosting will freely fix your site, if anything happens