April 15th, 2005
How to Restore Lost Blogger Template Code
Have you ever lost your Blogger template partly or fully due to some unforseen error?
It happened to me once and half of my blog disappeared. For some reason only half the blog code was left due to some republishing error. So I had the main panel displaying, but only half the sidebar and footer was gone. Upon checking the template, that part had just disappeared and there was no chance that it would show on the blog.
Save whatever customization was left…
If you have a partially running template, save it in a text editor like Notepad. This will at least give you back all the customizations you made of whatever is left like altering text, css colors, padding, Adsense placement, feed buttons, search codes, antipixel buttons etc.
This can also be done by viewing the source of the blog and saving it to Notepad. Now you can copy and add these previous customizations to your new code. Do all this preservation measures before changing and republishing the new template.
If you have nothing left and no back up also…
See if you are indexed in Google, and try to get the last google cache of your page. Just type in your full url in Google and search. In the items lists below, see “Show Google Cache” - and the last time google visited your page, its image will be displayed. Just view source and your get most of your code back. If your blog was recently indexed, then you are more lucky to have your latest source code back.
If google does not have you listed, then maybe the Internet Archive Wayback Machine has it. Just enter your url and find your sites listed by different dates and get the latest source code. The older your blog is, the higher chance you might find it there. This also allows you to get the source code by date too.
Quick Fix any severely disabled blog…
The only way to fix your blog and keep it running it (if you do not have back up) is to pick a new template. Go to Template > Pick New. Then choose from the long array of free blogger templates, select and republish the entire blog. The new template will come into play but all customization you did previously to your template is lost.
So how to keep your template safe always…
Back up the template whenever you change it. It is very simple. Just copy the entire template code into Notepad and save file with name like ‘myblog-date.txt’. Do this before you make any changes to the template, save or republish it. This way I have a collection of all templates by date and I can restore to whichever date I want. Even if you manage to mess up the new code, you can always go back. See more ways to Backup Your Blogger Blog.
Back up is very important. If you have done hundreds of customizations over months, it is very difficult, time consuming and hard work to restore all those changes. Believe me.. I have gone through it. Is it not simple to just save a copy of that template today!
Continue getting our new articles by RSS or email
Related articles
How to Back Up Your Blogger Blog
How to Hide / Remove Blogger Navbar
What is Your Blogger Code?
Greasemonkey Enlarges Blogger Post and Template Editors
Insert Google Adsense in Blog Posts




Comments
RSS feed for comments on this post.1. Cellounge Admin | 25/07/05 #
What I recommend is to go to the blogger template, copy and paste it into a text file and save it to a floppy disk. This way it will not be on your machine.
2. Marti | 28/08/05 #
Or save it as a text file or word document, and upload it to a “My Yahoo” briefcase.
It’s free, there is a LOT of space there, and easy to upload. I’ve uploaded my ENTIRE hard disk to two “My Yahoo” accounts.
If my machine ever crashes, (which it has, and sooner or later, everyone’s will) everything is stored away from here, easy to get to, easy to reload to a new drive.
I’ve made a habit of adding any new files once a week.
It’s a “good thing” LOL
3. dan | 29/08/05 #
My blog, http://www.cityflirting.com, lost half the coding one day, for no apparent reason. The links for the archived pages were still live, however. I opened one up, and my designer friend was able to copy the original source code from that back into me template. I still don’t know why it happened in the first place, though.
4. Quick Online Tips » Back Up Your Blogger Blog | 19/03/06
5. Quick Online Tips » Internet Archive Wayback Machine: Tracking History of Websites by Archived Dates | 16/04/06
6. Freemaxsite.com » Blog Archive » How to Back Up Your Blogger Blog | 19/11/07
Comment on “How to Restore Lost Blogger Template Code”