admin管理员组文章数量:1292284
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.
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.
Share Improve this question edited Oct 9, 2019 at 19:52 fuxia♦ 107k38 gold badges255 silver badges459 bronze badges asked Oct 9, 2019 at 18:31 Andrew McCrackenAndrew McCracken 1- 2 If the backup includes the WordPress files as well as the database, in theory yes you should be able to recreate the site locally. You'll need to set up a local server environment to actually "host" the website locally (MAMP would be a good option for that as it's free and relatively easy to use). – jasonp Commented Oct 9, 2019 at 23:13
3 Answers
Reset to default 1Can 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.
I created a little guide I made on how to restore your WordPress site from a .tar.gz backup, without the need for any database, etc. changes to your config files. Maybe it can help someone...
https://youtu.be/F84btYZx8Lc
- Make a dump from the database
- Download the tar.gz file
**
- Import the database
- Upload tar to new host
本文标签: installationCan I install a WordPress site locally from a targz file
版权声明:本文标题:installation - Can I install a WordPress site locally from a tar.gz file? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741549829a2384812.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论