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

Comments

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

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

Custom Domain Migration - Managing The Traffic

Your blog depends upon traffic for its success.

Anything that affects the traffic to your blog, such as any change in the URL, affects the success of your blog. Publishing the blog to a custom domain, like renaming the blog, will affect traffic to your blog. The effects of the change will vary from blog to blog, because of the different traffic to every different blog.Followers. People who find your blog because of recommendations by other people.Search engines. Robotic processes which methodically surf your blog, and provide dynamic indexing to people who search for information.Subscribers. People who read your content from their newsfeed reader, such as the dashboard Reading List.Viewers. People who read your content from their browser.No two blogs are the same - and no two blogs will have the same combinations of traffic sources.

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.