Local WordPress with LocalWP or WordPress Studio, then publish to hosting
· The AYT team · 6 min read

A local WordPress is a site that runs on your own computer instead of a server, so you can build it and break it without anyone seeing. The simplest free tools are LocalWP (Local), from WP Engine, and WordPress Studio, from Automattic. When the site is ready, you publish it to a host: export the files and database, upload them to the server, then replace the local address with the real domain.
LocalWP or WordPress Studio
Both are free and install WordPress in one click, without you setting up a web server or a database.
| LocalWP (Local) | WordPress Studio | |
|---|---|---|
| Made by | WP Engine | Automattic (WordPress.com) |
| Systems | Windows, macOS, Linux | Windows, macOS, Linux |
| Database | included, set up by the app | SQLite, no database server |
| Direct publishing | to WP Engine (Local Connect) | to WordPress.com and Pressable |
| Export for another host | a .zip with the files and database | "Export site" (.zip) or "Export database" (.sql) |
For any other host, both work the same way: you export and upload by hand. Pick Local if you want a tool that's been around a long time and has plenty of tutorials. Pick Studio if you want a lighter app, with Blueprints (preconfigured sites) and previews you can send to a client.
Studio uses SQLite instead of MySQL, but its database export produces a .sql file that works with MySQL, according to the Studio documentation. On the host you import it like any other export.
Step 1: install the app and create the site
- Download the app from localwp.com or wordpress.studio.
- Create a new site and pick a PHP version close to the one you'll use on the host.
- Note the site's local address (in Local it looks like
my-site.local). You'll replace it when you publish.
Then work as on a normal site: theme, pages, plugins. If you already have a live site and want to work on a copy, you can import it: Studio accepts, among others, .wpress backups made with All-in-One WP Migration, and Local imports .zip archives with the files and database.
Step 2: prepare the site for publishing
- update WordPress, the theme and plugins;
- delete plugins and themes you don't use;
- deactivate caching and security plugins until after the move, so they don't block anything on the new server;
- check which PHP version the local site uses.
Step 3: export the site
You have two options.
With a migration plugin: install All-in-One WP Migration on the local site, choose Export and save the .wpress file. On import, the free version is limited by the maximum upload size your host accepts, so for a large site you'll need to raise upload_max_filesize and post_max_size (the steps are in the article on upload limits).
By hand: in Local, right-click the site and choose Export; the archive holds the files and a database export. In Studio, the site menu → Export → "Export site" for the whole site or "Export database" for just the .sql file. From the archive you need the wp-content folder and the .sql file.
Step 4: publish the site to your host
With the plugin: install WordPress on the domain, install All-in-One WP Migration, choose Import and upload the .wpress file. The plugin replaces the local address with the new one itself.
By hand:
- Install a clean WordPress on the domain from your hosting panel. It creates the database and a
wp-config.phpwith the right details. - Upload the exported
wp-contentfolder over the existing one, with an FTPS client (such as FileZilla) or from the File Manager. - Open phpMyAdmin, select the site's database, drop the existing tables and import the
.sqlfile. If you haven't used phpMyAdmin before, see phpMyAdmin for beginners. - Check in
wp-config.phpthat$table_prefixmatches the prefix of the imported tables (usuallywp_). - Replace the local address with the new one in the database, for example
http://my-site.localwithhttps://yourcompany.ro, using a search & replace tool that handles serialized data. A plain find-and-replace in the .sql file breaks theme and widget settings. - Log in to wp-admin with the username and password from the local site, then save Settings → Permalinks once.

Step 5: check the published site
- open a few pages and look for missing images or links that still point to the local address;
- test the contact form, because on your computer emails don't go out, and online they have to;
- turn the caching and security plugins back on;
- check the site opens on
https://; if you get mixed content warnings, follow WordPress HTTPS and mixed content.
Frequently asked questions
Can I work locally and publish changes several times?
Yes, but each manual publish overwrites the database on the server. If orders, comments or messages arrive on the live site in the meantime, you lose them. For changes to a site that's already live, a staging site on your host is safer: see the WordPress staging site.
Do I need Docker or server knowledge?
No. Both apps include everything needed: PHP, the web server and the database.
Publishing on AYT
On AYT WordPress hosting you create the domain with WordPress installed from Create a New Domain, upload wp-content over FTPS or from the File Manager and import the database in phpMyAdmin. Search & replace in the database is in the WordPress Toolkit, and you change upload limits from the PHP settings editor. There's no SSH, so the steps above are done from the panel. For changes to a site that's already live, the paid plans have staging in the WordPress Toolkit. Under "Push to live" you choose what to send: "Files only" or "Files and settings" leave live's posts, users and orders alone, while "Everything" replaces the whole database, including orders placed since the copy. Before the push, the panel takes a safety copy of the live site. If your site is already live with another provider and you have cPanel, FTP or SSH access there, we move it for free on the paid plans.
