Free Checking for Bloggers - Sign up in 5 Minutes!
Powered by MaxBlogPress  

 

Using Google Cache to Recover Blog Pages | JTPRATT's Blogging Mistakes
JTPratt's Blogging Mistakes





Home » Using Google Cache to Recover Blog Pages


 
 
 

Posted in:

blog-content category image blogging-mistakes category image wordpress category image
2,529 views


Ever wished you could get back a previous version of a web page? You can - quickly using google cache!

I was hacking my Wordpress comments.php file the other day and changes that I made didn’t work. When I decided to back them out I realized I made too many to remove by hand - so I used a version I had on my local PC. I thought it was the latest version. It turns out that the last time that I made changes I did it in through the theme editor in Wordpress, so my local version was really old.

Last Month I wrote about creating Rockstar Comments in Wordpress in 12 Steps. When I wrote that article I modified my comments.php file and placed a new block at the top of the Comment form showing readers that we reward comments. Now those changes are gone!

I backup my site and I could dig up my previous version from a backup - but there’s an easier (and quicker) way. This has worked for me before when I made a change and needed to get back the previous version within a week. With this method you can “restore a blog page” yourself!

First you need the full URL of your page. Then paste it in google. When the search result comes up just click on “cached” (which I have highlighted in red below):

google cached version example

When I clicked on it the google cache says that the page it’s showing me is from February 4th (and today is the 9th). Perfect!

google cached page top example

When I scoll down the page I find the block of text that I need to recover. I take my mouse and highlight it, and then right-click the mouse and choose “view selection source” (you can only do this in Firefox).

view selection source

Once you do that just what you highlighted will he highlighted in the html code for you like this:

highlighted source code

I copied the div I had lost and pasted it back into my comments.php (on my local PC of course) and then made the changes in Wordpress. I have successfully recovered my page using google cache! This method also works if you somehow delete a page and don’t have it at all - google cache to the rescue! It’s not nearly as specific, but if you want to go back in time months or years You can always check out the Wayback machine at the Internet Archive! My blogging mistake this time was not keeping a local backup copy of all my Wordpress theme files! Editing them in Wordpress using the theme editor is handy, but overwrites the previous copy every time.

Have a story about losing a page, post or content? Have a question? Please, comment now!


3 Responses to “Using Google Cache to Recover Blog Pages”

  1. spostareduro Has the following to say...

    Thanks for the tip! Glad I stopped by to drop kick your EC

    spostareduro’s last blog post..Shari Voigt’s ?Strange but True?

  2. Stephan Miller Has the following to say...

    I’ve had to use that trick more than once. Once I used it to find out how to unlock a GM car stereo. There is a phone call you have to make to do it. Then all you do is type in some numbers and it gives you a code. The dealership charges for this. I found a forum post through Google, but GM got to the site first and took the post down. Using ye olde Google cache, I saved myself what was $30 at the time. I don’t mind spending money, but paying someone to make a five minute phone call, too much.

    Stephan Miller’s last blog post..Blog Monetization Strategies

  3. kometbomb Has the following to say...

    I find the Wayback Machine bookmarklet very useful (link below, scroll down a bit). You could also create a similar bookmarklet for a suitable Google search.

    http://www.archive.org/web/web.php

    kometbomb’s last blog post..Software Improvements That Made Hardware Better

Question or Comment?? Spill it Now...

Jumping for Joy over comments!

We Reward Comments!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin! Top commenters for every month are listed on every page of this site in a sidebar widget linked back to your URL! We would like to reward you for becoming part of our community! Your comment is valuable not only to us, but also all the other readers of this blog!
 

 


Click to add smilies to your post! = =[] ^=( =(( =(| =)r =|8 =0 =)~ =00 =( =;; =)] =;;;