This guide will walk you through the process of manually preparing your Pressable site backups (Filesystem and Database) and importing them into the LocalWP application to run your site locally. This method is useful if you need to work with your site offline or test changes in a local environment.
Prerequisites:
Before you begin, ensure you have the following:
- The LocalWP application installed on your computer. If you don’t have it, you can download it from https://localwp.com/.
- A recent Filesystem backup of your Pressable site downloaded from your Pressable Dashboard.
- A recent Database backup (SQL file) of your Pressable site downloaded from your Pressable Dashboard.
- A fresh download of the latest WordPress distribution zip file from https://wordpress.org/download/.
Steps to Import Your Pressable Site into LocalWP:
- Get Your Files Ready:
- Unzip (extract) each downloaded file (Filesystem backup, Database backup, and the WordPress file) into its own separate folder on your computer.
- Combine Site Files with WordPress:
- Open the folder from the WordPress file.
- Find your site’s
wp-contentfolder (from inside thehtdocsfolder in your Filesystem backup). - Copy the
wp-contentfolder and paste it into the WordPress folder, replacing the emptywp-contentfolder there.
- Add Database File:
- Locate the database file (the “.sql” file) from your Database backup.
- Move or copy this “.sql” file into the same WordPress folder (where you put the
wp-contentfolder).
- Make One Big Zip File:
- Go back to the folder that contains the modified WordPress folder.
- Compress this WordPress folder into a single zip file.
- Start LocalWP:
- Open the LocalWP application.
- Click on the “Create a new site” button.
- Choose to Import:
- Select the “Import site” option.
- Select the “Import site” option.
- Upload Your Zip:
- Upload the zip file you created in Step 4.
- Upload the zip file you created in Step 4.
- Follow Instructions:
- LocalWP will guide you. Name your site, pick “Custom” settings, and create a username and password.
- NOTE: To most closely match Pressable’s environment please select NGINX as your web server and MySQL 5.x as your Database. Match the PHP version to your specific Pressable site’s settings.
- Let LocalWP Do Its Thing:
- LocalWP will import your site.
- Trust the Local Site:
- When asked, click “Trust” for the local site’s security to allow your browser to open it.
- When asked, click “Trust” for the local site’s security to allow your browser to open it.
Your Pressable site should now be running locally on your computer in LocalWP. Click “Open site” in LocalWP to view it.Your Pressable site backup should now be successfully imported and running within the LocalWP environment on your computer. You can access it by clicking the Open site button in LocalWP.