Zip file creates then immediately deletes site

I have an infuriating issue that has come up before and just came up again.

Let’s say I’m doing a site redesign for company.local. I want a fresh install for the new build but I want to keep an archive of the old site too. So in local I change the following:

  • name: Company (Old)
  • domain: company-old.local

But the folder in Sites/ folder is still /company/. I don’t want that. That’s confusing. And I can’t seem to find any way to rename the site folder.

So I…

  1. Make a zip of the old /company/ site folder in /Sites/
  2. Delete the site in Local
  3. Drag the zip file into Local to recreate the site
  4. Tell the import to use…
  • name: Company (Old)
  • domain: company-old.local
  • folder: company-old/

Local creates the new site and then IMMEDIATELY deletes it?! Huh?

Hello @uniondesign - thank you for your question. :wave:

Can provide the Local Logs by chance? You can get a zip of those logs by clicking the “Download Local Log” button from the “Support” tab of Local. See this help doc for more information:

I wonder if something is failing behind the scenes resulting in the site being deleted.

Thank you!

Sam :green_heart:

Attached. I know I could just rebuild the archive site manually but dropping a zip seems much simpler. Also question, is there a way to rename / process for renaming the site folder? (2.4 MB)

Hi @uniondesign -

Something else you might want to consider is using the Clone site feature.

Would this workflow accomplish what you’d like to do?

  1. Right-click the site > Clone site. Give the site name / domain Company (Old) and company-old.local

  2. Delete original site

  3. Create a new site with the desired domain

Let me know what you think about that!



AHHH! Why didn’t I think of that. Thanks you. Filing that away in my brain for future reference.


This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.

Hi @uniondesign -

Awesome! Glad to hear that worked for you.