Hello, I mistakenly deleted the site I have been working on for many hours
I found the file in the trash of my computer, put in .ZIP to reintegrate it on Local however I have an error message is displayed “Please try again with a compatible ZIP file”.
What should I do to make it work and reinstall my version of the site?
Hi @Ods44015
You could attempt a more manual import. The steps would look like this:
- Unzip the file in a common location, like the desktop
- Create a new, blank site in Local. Use whatever username/password you like since you’ll overwrite the DB with this site archive’s dump.
- Copy the wp-content folder from the unzipped location to this newly created site’s location
- Copy the correct SQL dump to the site root.
- Within Local, open the site shell
- Import the dump with
wp db import <dumpfile>
- If that works, now Search and replace the domains.
wp search-replace ' https://production.com ' 'http:mylocalsite.local'
For future work in Local, we recommend using the Cloud Backups add on to save and back up your work: Cloud Backups
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.