Preparing to go static with WordPress

We’ll give some recommendations for designing your ideal WordPress to static hosting setup.

The first thing to decide is whether to host your WordPress site locally or on the internet. We’re talking about your WordPress development site here. As opposed to the resulting static site, which you’ll likely host online. Of course, it’s up to you to find the ideal setup, you may even use WP2Static for generating websites for offline use or behind a company or school’s intranet. WP2Static aims to provide as much flexibility to you, while keeping the plugin optimized for the core use cases.

Local or remote WordPress development server?

How to decide what’s right for me

You should go local when you…

  • are the only one developing the site
  • don’t want to pay for hosting
  • want to use the full power of your personal computer
  • are paranoid about security

You should host online when you…

  • work with others to develop the site
  • need to give your client access to the WP dashboard
  • have external services adding content to your site
  • are prepared to secure your dev site from the public/bots

Migrating an existing live site to a development server

Whether you’ll choose a local or online development server, you’ll need to follow a similar process before you can start publishing statically. These steps are described below.

  • Setup a new development server
  • Clone your live site to the development server
  • Adjust WordPress URLs to the new server’s

Setting up a new development server

Be sure to check the System Requirements for WP2Static when setting up your new development server. We’ll give examples or recommended solutions for both local and online WordPress development servers. If you need more help deciding what’s right for you, please Contact Us and describe your use case for more recommendations.

Local WordPress Hosting Options

We don’t recommend any of these over the others, but have heard from WP2Static users about most of them. We suggest you try one out for yourself and find the right fit.

Custom setup

For those comfortable in setting up WordPress servers, your preferred setup will be fine, be it on Linux, BSD, or Mac OS. Native Windows support is less supported, but any of the other tools for local WordPress hosting on Windows may be used.

Local by FlyWheel

localbyflywheel.com

A VirtualBox-based solution which gives a reliable local WordPress environment on Mac OS or Windows.The low default memory allocations for a new site should be increased to maximize the speed of the local site, along with extending the max_execution_time.

Homestead

github.com/laravel/homestead

An open source solution from the large Laravel community. Also using virtualized environments, with many essential tools for PHP and WordPress development included.

Devilbox

devilbox.org

An open source, Dockerized  solution tailored for Linux, Mac OS and Windows. It promises “zero configuration requirements” and is being actively developed.

MAMP

mamp.info

Offering free and Pro versions of their solution for Mac OS and Windows local hosting.

XAMPP

apachefriends.org

A free local Apache, MariaDB, PHP and Perl solution for Linux, Mac OS and Windows.

VVV

varyingvagrantvagrants.org

An open source solution from the large Laravel community. Also using virtualized environments, with many essential tools for PHP and WordPress development included.

Laravel Valet

github.com/laravel/valet

An open source, Dockerized  solution tailored for Linux, Mac OS and Windows. It promises “zero configuration requirements” and is being actively developed.

Trellis

roots.io/trellis

Offering free and Pro versions of their solution for Mac OS and Windows local hosting.

AMPPS

ampps.com

A local solution containing Apache, MySQL & PHP for Linux, Mac OS and Windows.

InstantWP

instantwp.com

An open source, portable WordPress solution for Mac OS and Windows.

Desktop Server

serverpress.com

A commercial offering for Mac OS and Windows.

Online WordPress Hosting Options

There is so much FUD being spread by commercial hosting companies that it can be very hard to choose one. We feel strongly enough to recommend a few low-cost, but well-performing VPS providers, offering options of 1-click WordPress instances, LAMP/LEMP instances or custom ISOs.

WP2Static is not affiliated with any of these providers

Vultr

vultr.com

Offering good performance/value in many datacenters around the world.

DigitalOcean

digitalocean.com

Offering good performance/value in many datacenters around the world.

Linode

linode.com

Without the 1-click options of Vutlr/DigitalOcean, but still offering great performance/value.

Hetzner

hetzner.com

With cheap, powerful VPS options, but only in some European datacenters.

Don’t spend more than US…month to host an average WordPress development site

Unless you have a very resource heavy site, a …month quality VPS has more than enough power for developing and exporting your site with WP2Static.

Dedicated / Bare-metal / Cloud Services / Other

WP2Static should work with any good hosting provider that allows you to run WordPress. If you have a very unique setup and are unsure if it’s going to work for you, please Contact Us and we’ll try to help.

Cloning your current live site to your new development server

With many guides already written and recorded for cloning a WordPress site, we’ll just share you a few links for now, so we can continue to build the essential documentation for WP2Static.

Correcting your new WordPress site’s URLs

If your migration process didn’t include an option to update WordPress’s URLs to the new site’s, you’ll need to do that at this point. Again, we reference an external guide to help you with this.