InMotion Hosting Support Center

In the event that you need a file restored and you have no local backup or the InMotion Hosting backup isn't usable for any reason, you may be able to use Google's cache as an alternative.

When Google crawls your website, it takes a snapshot of your page. That snapshot shows what your site looked like when Google crawled it, and is available to see using the "Cached" link in Google's search results. Restoring a page using Google's cache, in short, is using the html Google saved when crawling your site to rebuild the file you need restored.

Please note:
The steps outlined below are not guaranteed to work. This method is only recommended to be used as a last resort. Google's cache will not work on php or other pages using server side scripting as Google cannot see your php code, only the html that is generated.
  1.  Search Google for Be sure to replace with your domain name and do not insert any spaces between site: and
  2.  You will see a listing of all pages that Google has crawled that are in Click theCached link next to the page you need to restore.
  3.  At the top of the page, Google will display a message similar to:
  4. This is Google's cache of It is a snapshot of the page as it appeared on Dec 14, 2009 22:29:21 GMT.

    The snapshot date listed is the date that Google crawled your site. If your page shows correctly below this message, then you should be able to use the html code in Google's cache to attempt to restore the file.

    View the source code of the page. In most browser's, you can right-click and choose View Page Source. The source code is the html code that is used to render your website. Select all the code in the page source and copy/paste it into a test file in your account. For example, if you are trying to restore index.html, place the code in a file named index_test.html. Google adds a few lines to the top of the page, so you'll want to remove the first few lines of code at the top. Those first few lines is what Google uses to display the information at the top of the cached page, for example, the snapshot date.

  5.  Test the new file in your browser. In this example, you would want to test If this version of your page in Google's cache will work for you, move the original file out of the way and instead put the test file in place. In this example, you would rename index.html to anything else, like index.html.bak, and then rename the test file index_test.html to index.html.
Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

n/a Points
2014-04-05 9:10 pm

After i met this problem, i can't connect my ftp, help!! what is the meaning of 'Select all the code in the page source and copy/paste it into a test file in your account.'???

43,761 Points
2014-04-06 9:50 pm
Hello Angel,

That statement means to View the source of the page, then paste it into an empty file you have created within your public_html folder for testing. As for your FTP, if you are certain your username and password are correct, please contact our Live Support team for further assistance.

Kindest Regards,
Scott M
n/a Points
2014-04-01 10:50 am

Thank you thank you thank you. You have just saved my arse big time!

2013-04-11 4:45 pm
Excellent article! Very helpful, didn't even have to read the whole thing before I was able to solve my problem! Lol

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

4 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!