17 Comments

How To Backup Your WordPress Theme Files

May 16th, 2007 by Court

 

How mad would you be if you made a tiny change to your site that made the entire layout not function correctly? It happens to people all the time! By fiddling, you can create a tiny mistake in the code that will throw off the whole site. Normally it happens while people are installing a plugin, trying to add a widget, or adding custom graphics.

Taking 20 seconds to make a backup before messing with a file can prevent the problem. Before I make any change to a theme file, I make sure that I have it backed up. That way, I can fiddle as much as I want! If something gets messed up, I go back to the way it was before I fiddled!. It’s the easiest thing in the world to do. Here are the steps:

  • Login to your WordPress admin.
  • Go to ‘Presentation’.
  • Go to ‘Theme Editor’.
  • Look at the right side of the screen, where you will find all of your theme files.
  • Find the file you want to backup. If you are going to fiddle with your header file, you’re going to locate the header file. If you’re installing a widget in your sidebar, find the sidebar file, etc.
  • Click on the file you want to backup. WordPress will then load the code for the file into the edit box, which is the huge box that will then have all the HTML funny looking symbols in it.
  • Highlight the entire code with your mouse. To make sure that all the code is highlighted, you could just click your mouse in there and then hold ‘Ctrl’ and hit ‘a’. ‘Ctrl A’ highlights everything.
  • Copy the code with your mouse. Right click your mouse and select ‘copy’ to do this.
  • Open up Notepad on your computer. You can find Notepad by going to ‘Start’ in the lower, left-hand corner of your screen, then ‘All Programs’, and finally ‘Accessories’. Click Notepad.
  • Paste the code you copied previously into Notepad.
  • Save the file to a location where you can find it later.

That’s it! Now if anything gets messed up while you’re fiddling you can simply paste the original, backed-up copy of the code back into the code editor box!

I bet you can learn to do it in twenty seconds or less. Who can do it the fastest without messing up?

 

Related Posts:
New Search Engine Optimized WordPress Theme - Africa Theme 1
...
How To FTP Using FileZilla
...
Make Money Online w/ An SEO’d Theme III
...
Make Money Online w/ An SEO’d Theme
...
How To Install A New WordPress Theme
...
Arabian Sea - New Search Engine Optimized WordPress Theme
...

RSS feed | Trackback URI

17 comments! »

MyAvatars 0.2

May 17th, 2007 at 6:25 am

Would it not be faster and less complicated to just connect via FTP and download your theme’s folder?

- Martin Reed

Comment by Court
MyAvatars 0.2

May 17th, 2007 at 9:27 am

Yes, assuming that you knew what FTP was! Many of the people that ask me for help have no idea what it is.

MyAvatars 0.2

May 17th, 2007 at 12:26 pm

Ooops, I always forget that in this day and age of the CMS there are people that will not even understand what FTP stands for!

Thanks for the reminder ;)

- Martin Reed

 
 
 
Comment by apex
MyAvatars 0.2

May 17th, 2007 at 11:57 am

You could also Right Click and do ‘Select All’ to highlight all the text in the editbox.

 
Comment by Lillie Ammann
MyAvatars 0.2

May 17th, 2007 at 4:32 pm

Great advice, Court. Just a few days ago, I tried to make a minor change to the sidebar and ended up with nothing but an error message showing in the sidebar. Since I always keep a backup, I just copied and pasted my backup into the theme editor and was back in business in no time. Without that backup, it would have taken much more time - and frustration!

Comment by Court
MyAvatars 0.2

May 17th, 2007 at 4:40 pm

Glad to hear it! I help some friends with their blogs, and a few of them are constantly messing things up! They lose their minds when things get messed up and I keep asking them, “Where’s your backup?” Lol it makes me crazy!

 
 
Comment by DayJobNuker
MyAvatars 0.2

August 29th, 2007 at 2:53 pm

There was one time I wished I did this. Had to do my whole sidebar again. Will I do it every time though. Nah…I’m to lazy.

 
MyAvatars 0.2

May 20th, 2008 at 7:35 am

[…] You can easily backup a single theme file by going to the Theme Editor under Design, clicking the file, and then copying-and-pasting the contents of the theme file you’re editing into a Notepad document. Read more detailed steps here. […]

 
MyAvatars 0.2

June 2nd, 2008 at 6:36 pm

[…] Source : Court’s Internet Marketing School […]

 
Comment by ItandyItadype
MyAvatars 0.2

October 20th, 2008 at 1:25 pm

Hello,
My Name is, William
overall pretty good
my page:

http://e8jI3Mcwa.spaces.live.com/

 
Comment by Agnes
MyAvatars 0.2

November 5th, 2008 at 9:22 pm

It has long been looking for this information, Thank you for your work.

 
Comment by romonoeroetoko
MyAvatars 0.2

July 8th, 2009 at 10:16 am

Hm that sounds good but I would like to know more details.

 
Comment by romonoeroetoko
MyAvatars 0.2

July 15th, 2009 at 11:47 am

Your news is a cool stuff man, keep it going.

 
Comment by amenodimeno
MyAvatars 0.2

July 31st, 2009 at 11:51 am

That’s good man, keep it going.

 
Comment by amenodimeno
MyAvatars 0.2

August 5th, 2009 at 5:15 pm

Good story for me but please more details.

 
Comment by queroeropoo
MyAvatars 0.2

August 6th, 2009 at 5:16 pm

Good information to me.

 
Comment by adamoerikom
MyAvatars 0.2

September 19th, 2009 at 3:23 pm

Stunning blog and good article. High 5 for u man !

 

What do you think? Join the discussion...

Name (required)
E-mail (required - never shown publicly)
Website
Your Comment (smaller size | larger size)