Free Checking for Bloggers - Sign up in 5 Minutes! 免費檢查的Blogger -註冊5分鐘!
Powered by MaxBlogPress 本站由MaxBlogPress

利用谷歌的緩存恢復博客網頁| JTPRATT的博客錯誤
JTPratt的博客錯誤





Home » Using Google Cache to Recover Blog Pages »使用谷歌的緩存恢復博客網頁



Posted in: 張貼於:

博客內容類形象博客,圖片類錯誤WordPress的圖像類
3,037 views 3037意見


Please note: This page was originally written in English.請注意:此網頁最初是用英文寫的。

The original post can be viewed原來的文章可被視為 here這裡 .

Please note: This page was originally written in English.

The text has been translated using an online service such as Google or Babelfish.

The original post can be viewed here.


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.我是黑客我WordPress的comments.php文件有一天和變化,我沒有工作。 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.事實證明,我最後一次更改我沒有通過它的主題編輯WordPress的,所以我當地版本很舊。

Last Month I wrote about creating上個月,我寫關於建立 Rockstar Comments in Wordpress in 12 Steps的Rockstar在WordPress的評論在12個步驟 . 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.當我寫道,第一條修改我的comments.php文件,並置於一個新的塊上方的評論的形式展示的讀者,我們獎勵的意見。 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):當搜索結果出現只需點擊“緩存” (我已經以紅色突出顯示如下) :

谷歌例如緩存版本

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).當我打開了谷歌的緩存說,網頁上的表現我是從2月4日(今天是第9次) 。 Perfect!完美!

谷歌緩存頁面頂端的例子

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).我要我的鼠標,並強調它,然後右擊鼠標並選擇“視圖選擇源” (你只能做到這一點在Firefox ) 。

查看源選擇

Once you do that just what you highlighted will he highlighted in the html code for you like this:一旦你這樣做正是您將著重突出了他的HTML代碼為您這樣的:

突出的源代碼

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.本人複製的專區我失去並粘貼回到comments.php我(在我的本地PC當然) ,然後作出改變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您可以隨時檢查機器的Wayback在互聯網檔案館 ! My blogging mistake this time was not keeping a local backup copy of all my Wordpress theme files!我的博客錯誤這個時候是不是符合當地的備份副本,我的所有WordPress的主題文件! Editing them in Wordpress using the theme editor is handy, but overwrites the previous copy every time.編輯在使用WordPress的主題編輯方便,但覆蓋以前的每一次複製。

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”三答复“用谷歌緩存恢復blog網頁”

  1. spostareduro spostareduro Has the following to say...有下列說...

    Thanks for the tip!謝謝您的小費! Glad I stopped by to drop kick your EC高興我停止下降開始您的歐共體

    spostareduro’s last blog post.. spostareduro最後的博客帖子.. 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.用你們olde谷歌緩存,我救了我什麼是30美元的時候。 I don’t mind spending money, but paying someone to make a five minute phone call, too much.我不介意花錢,但付出的人作5分鐘電話,太多。

    Stephan Miller’s last blog post.. 斯特凡米勒最後的博客帖子.. Blog Monetization Strategies 博客商業化戰略

  3. kometbomb kometbomb Has the following to say...有下列說...

    I find the Wayback Machine bookmarklet very useful (link below, scroll down a bit).我覺得Wayback機書籤非常有用的(下面的鏈接,向下滾動,有點) 。 You could also create a similar bookmarklet for a suitable Google search.您也可以建立類似書籤適合谷歌搜索。

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

    kometbomb’s last blog post.. kometbomb最後的博客帖子.. Software Improvements That Made Hardware Better 軟件改進,取得更好的硬件

Question or Comment??問題或意見? ? Spill it Now...溢油現在...

跳躍的喜悅以上的評論!

We Reward Comments!我們獎勵的意見!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin!我們dofollow聯繫,並獲得最新的博客帖子的署名下的每一個新的評論從“ CommentLuv ”插件! Top commenters for every month are listed on every page of this site in a sidebar widget linked back to your URL!頂端commenters每個月列出的每個網頁上本網站的聯繫欄部件回到您的網址! 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! 按一下以新增的笑臉到您的帖子! == [ ]^ = (= ( (= ( |= )研究= | 8= 0= ) 〜= 00= (= ; ;= ) ]= ; ; ;