Did You Just Accidentally Delete That WordPress Page or Post?
I did, and I wanted to share with you a quick and easy way to get it back.
So there I was pruning some pages that had been created as holder pages – and while quickly going the motions: delete, delete, delete…I saw to my utter disbelief and despair that I had deleted one of the main pages to the site inadvertently.
After searching around on Google for a bit, I discovered a WordPress forum post that was so simple (and genius) it worked. If you’ve dealt with this before, you might have thought it up yourself, but since I hadn’t it was a nice Ah-Ha moment. Here’s what the poster suggested.
- Go to Google
- Enter the exact destination of the now deleted page: mysite.com/page-i-just-deleted-because-im-a-moron/
- Hit the cache button
- Copy the content from the Google cache and you’re good to go.
I’ll even take it a step further and remind you to copy the source code for the main content pane – as opposed to simply taking your mouse and highlighting the text on the page (by doing it that way you lose images and other various formatting that the html code will keep in place).
So after about a minute, I had found the cache of the page, copied the source, gone back to WordPress and pasted the code, double checked that everything was in tact like before (which surprisingly it was 99% perfect – just one line needed to be centered again), and that was that – a quick and easy solution if you ever accidentally delete a page or post from WordPress.
Now, if it’s a relatively new post or site and the search engines haven’t had a chance to index it yet, most likely your host can help. Places like Hostgator (where this site is hosted, and whom I recommend 110%), Site5 (another one of my favorite hosts), and most all the major hosting companies take daily, weekly, or monthly backups to your site so if worst comes to worst, you can contact them in a last resort to get your missing content back. In case this has happened to you, I hope this will make getting your content back a little easier.
Oh yea, now go make money online!