Can I install a WordPress site locally from a tar.gz file?

by Andrew McCracken   Last Updated October 09, 2019 20:08 PM

I need to view a website that was previously hosted via SiteGround (WordPress/cPanel). I cannot view it because there is no longer a domain associated. I created a backup, which produced a tar.gz file. I also downloaded the public folder as a zip (has wp-content, wp-includes, etc).

I am redesigning the site, but I need to be able to view these old pages/content.

Tags : installation


Answers 1


Can I install a WordPress site locally from a .tar.gz file?

This likely depends entirely on the contents of the archive. .tar.gz is just a compression format. You will have to extract it to have any website work correctly but otherwise the particular storage format has no bearing on your question.

I created a backup, which produced a .tar.gz file. I also downloaded the public folder as a zip (has wp-content, wp-includes, etc).

Wordpress typically requires a database to run. You don't mention whether or not you have a backup of this, but if you don't, you may run into issues.

I am redesigning the site, but I need to be able to view these old pages/content.

In theory it's possible to reproduce a site locally. But dynamic sites like those produced with Wordpress may be more difficult.

Anaksunaman
Anaksunaman
October 09, 2019 19:15 PM

Related Questions



How to set a Cookie-Free Domain with WordPress?

Updated June 13, 2017 18:08 PM


Subdirectory install error

Updated December 18, 2016 08:03 AM