If you need to restore a page (or more) of your site, the first suggestion is to restore a copy from a backup. So, what do you do if you do not have a backup you can restore from? In a previous article, we walked you through using Google's cache to restore a page, but that isn't an option if Google's cache has updated and no longer contains the page you want to restore.
Fortunately, there is another option you can try. The Internet Archive is a non-profit group whose goal is to create an Internet library. Using their "Wayback Machine" you can search their archive for a prior version of your site (and pages) which you can then use for rebuilding your page.
- Begin by navigating to the Internet Archive: Wayback Machine.
- Type in the full URL of the page you want to look for (e.g. yourdomain.com/index.html)
- Click the "Take Me Back" button.
- On the next page you should see a calendar showing years near the top of the page and the months of that year in the middle of the page. Blue highlights denote days that the site was archived (referred to as a "snapshot"). You can click on a date to open a snapshot of your page from that day.
- If you would like to see a list of the pages contained in the archive for a site, add an asterisk after the domain name (e.g. http://yourdomain.com*). You can also filter this list by file extension if you like (.html, .pdf, etc.).
- When you open a page in the Wayback machine, you'll notice a header at the top with information and navigation for the Wayback Machine.
- To view the page without this code so that you can easily restore your page, add "id_” (without the quotes) between the date and the forward slash before your URL.
- Now you can view the source code for the page (in most browsers simply right click and select View Page Source or something similar). Copy the code and paste it into either a text editor where you can save it as an HTML file and view it locally or in a blank test HTML file on the server. Once you are satisfied with the recreated page, rename it as the page you need to replace.
Please note, there is no guarantee that the Internet Archive will have a copy of your site files or that the files will work as you expect them to. This should be an alternative to restoring an actual backup of your file.