Skip to main content

Backup Your Template

Your blog is almost a living, breathing thing. It's your presence on the web.

The posts in your blog are equivalent to the flesh - they give the blog content, features, and personality. The template is equivalent to the skeleton - they give your blog structure. The template isn't visible, like the posts are - but it's equally as important. Change the template, and you change the way all of the posts are displayed.

Hopefully, you back up the entire blog, maybe by mirroring it, periodically. That's a very good idea. You don't want to have to involve Blogger Support, except in extreme situations - like when your blog gets deleted.

(Note): These instructions are specifically written for Classic blogs. They will work for Layouts blogs also - but for Layouts blogs, Blogger provides a GUI template backup for backing up and restoring the template.

It's also a good idea to back up the template. If you make changes to the template, back it up before and after you make changes. Backing up the template is very simple.
  • From the dashboard, click on "Template", then "Edit HTML".
  • Position the cursor in the Template Editor window.
  • Hit Ctrl-A to select all text in the window.
  • Hit Ctrl-C to copy the selected text.
  • Open Notepad, and position the cursor in the Notepad window.
  • Hit Ctrl-V to Paste the copied text.
  • Save the copied file.

If you want to modify the template code using Notepad, because Notepad is way easier to use than the tiny template editor window, just make your changes then copy and paste from Notepad back to the template editor window. This will work for Classic or Layouts templates, equally well.

Note: In these procedures, I specify that you use Notepad (or any other plain text editor, that comes with the operating system on your computer) when copying the template. Do not use Microsoft Word, or any other word processor. A simple text processor, like Notepad, is just enough - A word processor, like MS Word, adds control characters. The template is straight text - the control characters, from a word processor, will make your template do strange things.

A template copy takes up very little disk space, and having a backup can be so useful. If you back it up before and after making any changes, you'll have a backup copy in case your current changes don't work as they should. And if the current changes do work as they should, and you need to recover from another calamity, like a mistakenly deleted blog, or a blog hijacking, you'll have a current backup to fall back on.

>> Top


David Robin said…
Where do I find the Notepad?
Chuck said…

Notepad is the text editor provided with all versions of Microsoft Windows. If your computer doesn't run Windows, find the text editor that comes with your computer.
Bohemianwhimsey said…
Hello Chuck,
Where can I find the Template Editor window, is that the same as where it says Pick New Template ?
Chuck said…
The Layouts Template Editor is behind "Layouts" - "Edit HTML". The Classic Template Editor is right behind "Template", since there no other wizards for classic templates.

Popular posts from this blog

Stats Components Are Significant, In Their Own Context

One popular Stats related accessory, which displays pageview information to the public, is the "Popular Posts" gadget.

Popular Posts identifies from 1 to 10 of the most popular posts in the blog, by comparing Stats pageview counts. Optional parts of the display of each post are a snippet of text, and an ever popular thumbnail photo.

Like many Stats features, blog owners have found imaginative uses for "Popular Posts" - and overlook the limitations of the gadget. Both the dynamic nature of Stats, and the timing of the various pageview count recalculations, create confusion, when Popular Posts is examined.

Help! I Can't See My Blog!

I just posted to my blog, so I know that it's there. I can tell others are looking at it. But I can't see it.

Well, the good news is you don't have a blog hijack or other calamity. Your blog is not gone.

Apparently, some ISPs are blocking *, or maybe have network configuration or infrastructure problems. You can access or you can access, but you can't access, or

You can't access them directly, that is. If you can access any free, anonymous proxy servers, though, you may be able to access your blog.

Note: You can use PKBlogs with the URL pre packaged. Here is the address of this post (with gratuitous line breaks to prevent the old post sidebar alignment problem):

And an additional URL, to provide to those suffering from this problem, would be the WordPress version of this post: