Tired of WP? Convert your site easily to HTML using Wget

by Banned 5 replies
6
I tried to restore some sites from the wayback machine but this tool is also incredibly handful in case you want to create a backup or simply want to get rid of a slow loading Wordpress.

The tool translates your site to simple static html files and also grabs all the images and what else you need:

Download link:

GNU Wget

Syntax to retrieve complete website:

Code:
wget -m http://site.com
In case of wayback machine:

Code:
wget --no-parent http://web.archive.org/web/20120626012526/http://www.site.com/
Obvious replace site.com and the serie of numbers with what the wayback machine shows you.

The way back code only gets the index.html file btw and whatever is present in that root.

I haven't figured out yet how to download the complete site from the wayback machine as all the guides out there don't work, they try to download whole the web archive, even after specifying that it should ignore the root.

You could try this or a variation of that.

Code:
wget -m --recursive --execute robots=off --no-parent http://web.archive.org/web/20120626012526/http://www.goreeinstitute.org/
Or this one

Code:
wget -e robots=off --mirror --domains=staticweb.archive.org,web.archive.org http://web.archive.org/web/19970708161549/http://www.slackworks.com/
Or a mix of it might work, neither options work for me though so it's quite puzzling.

Anyway the first command works when you want to clone your own website, the one with the -m
#search engine optimization #convert #easily #html #site #tired #wget
  • Nice tip, never thought of using wget to fetch a site from the Web Archive. But there can't be any orphaned pages, right? They have to all be interlinked or they won't get found.

    Once you fetch the site from the Wayback Machine you can also do a regex search and replace on the files to get rid of the prefix on all the urls. There is a free program I found for this for Windows, if like me you suck at shell commands, I will see what the program is called if anyone wants to know.
  • Banned
    [DELETED]
    • Banned
      [DELETED]
  • (Tell you what, I have just reconstructed around 50 pages of an old site from the Wayback Machine and converted to Wordpress - did it myself, as by the time I explain how to do it to someone else, I could have done it myself anyway. Anyone who wants to make a tool to automate this, I will be first in line in the WSO section!)
    • [1] reply
    • Hi,

      Really sorry for bumping this old thread, but I am in real trouble and need to restore my WordPress site. I have downloaded the files from archive through wayback downloader gem, but don't know how to convert it to WordPress. Any help will be appreciated from you.

      Regards
      • [1] reply
  • Banned
    [DELETED]
  • Oh man...Nik0.....resurrecting the dead....

    If you had a real host, they have a backup available for you....just saying.

    Just start making the same posts, cut and paste.

    Paul

Next Topics on Trending Feed

  • 6

    I tried to restore some sites from the wayback machine but this tool is also incredibly handful in case you want to create a backup or simply want to get rid of a slow loading Wordpress. The tool translates your site to simple static html files and also grabs all the images and what else you need: