Vandelay Website Design Blog

How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window

WordPress LogoA few weeks ago I re-designed this website, which meant also re-designing the WordPress theme. I’m sure many of you have also gone through the process of changing themes, and it can be quite frustrating. Fortunately, I had some experience with this process on a smaller blog before, so I was prepared for the potential headaches and had some ideas about avoiding them this time around.

I decided to document the steps I took so that they can (hopefully) help some of you when you are in the same situation. If you are thinking about changing your theme in the future, remember the items below - they can save you a lot of time and trouble.

1. Set Up a Test Blog

If you have any amount of daily traffic to your blog, you don’t want your visitors to experience difficulties while the changes are being made. A test blog is crucial because it will let you test the new them in a real world environment without any fear or harm. Many of the other steps discussed below will be based on the fact that you have a test blog set up.

To set up the test blog, I created a separate folder and installed a new WordPress blog. If your web hosting company provides a simple WordPress installation, this process only takes a few minutes.

In order to prevent search engines from indexing anything in the test blog I added it to my robots.txt file. Additionally, I deactivated the pinging feature in WordPress so that no search engines would be notified when I added a test post. If you wanted to, you could also use a password-protected folder on your site to prevent unwanted visitors.

2. Change the Theme of the Test Blog

At this point you’ll want to change the theme of your test blog to whichever theme you plan to use on your main blog. In my case, I designed the new theme in the test blog. If you are creating a custom theme you will probably want to do the same.

3. Enter Test Posts

Once you have the test blog set up, enter some test posts. Use ordered lists, unordered lists, images, blockquotes, links (without trackbacks if you’re using external links), and whatever else you plan to use in your real posts. Check everything to make sure it looks the way you want visitors to see it. Be sure to test it in multiple browsers.

4. Test the Page Load Speed

The page load time is very important if you want to keep visitors on your blog. We’ve all been to very slow loading websites that have caused us to leave and go somewhere else. It would be a shame to set up a great new, attractive theme only to find out that your traffic is down because of slow loading pages. Use the page load speed tester from Self SEO to compare pages on your test blog to pages on your real blog (which is still using your current/old theme). If you’re having problems with the load time, see our article Designing Pages to Load Quickly.

5. Add Your Analytics Code

If you want your new theme to track visitors when it goes live make sure you remember to add the analytics code (most likely in the footer). I did this early in the testing process just to be certain that I wouldn’t forget it by waiting till the last minute.

6. Change Your Feed URL

Most WordPress users are also using FeedBurner to publish their RSS feeds. If this is the case, make sure you change the links on the new theme to point towards the URL of your FeedBurner feed (by default they won’t be).

7. Make Changes to single.php

Many WordPress users, including me, use some type of edited single.php (the file that determines how your individual blog posts look). Personally, I use a small message at the top of the post to encourage readers to subscribe to the RSS feed, and at the bottom of the post I have some links for StumbleUpon and del.icio.us. If your current theme has had similar changes made to single.php you will need to edit the single.php file of the new theme.

8. Set Your Templates for Excerpts (if you want to use excerpts)

Another thing to remember is that your new theme will not reflect the changes you have made to your current theme regarding excerpts and full posts. Almost all blogs use excerpts on category pages (partly for SEO purposes), and many use them on the front page of the blog.

9. Make Changes to Your Sidebar

Your new theme will probably have a generic sidebar that you’ll want to make changes to. If you want the sidebar of your new theme to be the same or very similar to the sidebar on your existing theme, you can just copy and paste the sidebar.php file into the new theme and test it from there.

10. Transfer Your Images

If your images are contained in a file inside your current theme you will need to transfer them to the new theme, or they won’t be visible after you make the change. I keep almost all of my images in a folder outside of the theme so this doesn’t cause a problem for future changes.

11. Consider the Timing of Going Live

I switched over to my new theme at a time when I new the least visitors would be on my blog, late on a Friday night. That way any potential problems would cause less harm. If possible, make these changes at a time when your blog typically has lower amounts of traffic, or at a time when you would be able to fix any bugs without being in a rush.

11. Go Live

Once you have tested everything and you’re satisfied with the look and functionality of the test blog, it’s time to switch your main blog over to the new theme.

12. Keep the Old Theme

Just in case any unexpected major problems arise in the first few days, it’s good to still have the old theme as a backup option. Depending on the problem, you may be better off to switch back to the old theme temporarily while you make the necessary changes.

13. Test for Dead Links

Changing your theme shouldn’t affect your links, but it doesn’t hurt to check to make sure that they are still working. Use a tool like Dead-Links.com.

14. Validate the HTML and CSS (if you care)

Some people validate and some don’t. If valid code is important to you, use the W3C tools for validating HTML and CSS.

15. Check Your Plugins

Sometimes changes to your theme can cause problems for your plugins. Most likely this won’t be an issue, but it’s still a good idea to check them.

Following these steps I was able to change my theme with no problems at all. Hopefully these steps will be useful for you when you are planning and executing a change in themes.

Originally Published September 5th, 2007

46 comments from readers

  • 1 Pat Sep 6, 2007 at 11:31 am

    This is a great post. I will probably mention it on my blog in the near future!

  • 2 Sus Sep 6, 2007 at 12:41 pm

    After my post yesterday on changing themes, and the headache what should have been a simple job brought - I downloaded Xampp and started to make changes locally. My computer didn’t quite reach the window, but it wasn’t far off.

    You’ve made some very valuable points here. I’m sure this article will help many others - I for one will take note. Thank you so much.

  • 3 Mason from SmallFuel Marketing Sep 6, 2007 at 3:02 pm

    I get around the theme changing problem by using ExpressionEngine : )

    Though, I do understand that Wordpress is a much better platform for those who aren’t developers and aren’t code-happy.

    Also, a lot of these tips are common to any platform. For example, dead links are bad no matter what.

    Thanks for the article,

    - Mason Hipp

  • 4 Coffee Break - September 6, 2007 Sep 6, 2007 at 5:03 pm

    […] How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window Steven Snell @ Vandelay Website Design […]

  • 5 Vandelay Design Sep 6, 2007 at 5:37 pm

    Pat,
    Thanks for your comment. That would be great if you mention this post in your blog!

    Sus,
    I’m glad that your computer never reached the window. Thanks for reading.

    Mason,
    I don’t have any experience with Expression Engine, but recently I was reading something that made me want to look into it. True, a lot of the points aren’t specific to WordPress.

  • 6 Tay Sep 6, 2007 at 11:40 pm

    As usual, another great post. Switching themes definitely isn’t fun, and I even think that and all I’ve ever done is used a theme that was already made. If I had to make my own, I don’t know what I would do. Thanks to your post though, the process wouldn’t turn out to give such a major migraine. :)

  • 7 Felix Ker Sep 7, 2007 at 2:34 am

    Thanks for sharing.

    I changed my theme a month ago. Now, I’m thinking of changing it again. Probably re-design it.

  • 8 Online Moneymaking » Highlighting Some Educational Blogs For You… Sep 7, 2007 at 6:02 am

    […] How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window by Vandelay Design. This is a great step-by-step outline of how to change your WordPress theme after your blog has been active for a while. It includes a lot of steps that you might have forgotten. You don’t want to change your theme and create a mess in full view of tons of visitors! […]

  • 9 Spotlight on Blogger Gems of the week (w/e 7 Sept 07) Sep 7, 2007 at 9:59 am

    […] How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window - I wish I’d found this post before attempting to switch my theme this week. Very informative guide, easy to follow - a must read for the first timer before attempting to go solo with this task. If this isn’t worth Stumbling - I don’t know what is. […]

  • 10 playing the role of Madame Sep 7, 2007 at 10:24 am

    I’m trying to change my blogspot theme, plus my picture is like 20 years out of date, can you help?

  • 11 Weekend Links 09/07 Sep 7, 2007 at 1:42 pm

    […] vandelay reveals how to successfully switch your WordPress theme without throwing your computer through the window. […]

  • 12 In The Sphere: Rhetoric, Themes, and Jogging for the Bog | BlueFur.com Sep 7, 2007 at 3:34 pm

    […] Vandelay Website Design — no relation to Vandelay Industries, as far as I know — tells you how to successfully switch your Wordpress theme without throwing your computer through the window. Both John Chow and ShoeMoney are rocking new themes and the transition has been relatively seamless. If you’re ready for a new look, you might want to know how to avoid throwing your computer out the window too. […]

  • 13 Vandelay Design Sep 7, 2007 at 4:53 pm

    Tay,
    Thanks for your comment. If you’re switch only involves themes that haven’t been customized the change is not as bad. The process of changing custom themes wasn’t too bad for me, but I put in the time to plan everything and cover all the necessities.

    Felix,
    Is there any particular reason you want to change your theme again so quickly? Just curious.

    playing the role of Madame,
    I really don’t know much about blogspot. Sorry I can’t be of much help. If you’re ever looking to switch to WordPress I’ve got plenty of resources for you.

  • 14 Weekend Reading: September 8, 2007 : Average Joe Blogger Sep 8, 2007 at 9:54 am

    […] Switch Your WordPress Theme With Ease When it comes times to redesign and change your WordPress theme, there are a lot of potential headaches and frustrations that can go along with it. Vandelay Website Design has a good read and guide on How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window. […]

  • 15 carnival of struggling bumbling newbies - Sept 08, 2007 : SuccessPart2.Com Sep 8, 2007 at 10:01 am

    […] Vandelay Website Design presents How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window posted at Vandelay Website Design, saying, “If you’ve been frustrated with WordPress themes, try these tips.” […]

  • 16 Sushi Money Sep 9, 2007 at 9:48 pm

    Theme for the Day…

       Or maybe a little longer :)  I spent the past few days changing and updating the theme for Sushi Money… It’s not quite there yet, but offers a little more flexibility.  But what a learning curve! Especially with various plugins a…

  • 17 Columbia Sep 18, 2007 at 5:48 am

    I never changed a theme of my wordpress, don’t know how frustrating it can be. Though I will remember your tips when I will have to do it.

  • 18 “How-To” Group Writing Project: Final Entries List | bluejar.com - the webmasters guide to the galaxy Sep 19, 2007 at 2:24 am

    […] Top 5 ways to romance your blog by Phil Van Treuren Public Speaking Made Easy by Cedric Enter a How-To Contest for Cash by Matt Gibbs How To Promote Yourself (When You Don’t Want To.) by Dee How to create a post in Wordpress by Roberta Ferguson How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window by Steven Snell How To Nail That Job Interview In The First Thirty Seconds by Martin Stoddart How to speed up WordPress easily by Marco Simple way to Track Downloads by Shrihari How to Speed up your Torrent downloads by Felix How To Review A Blog by AdTracker How To Be A Flamer by WishBone How To: Add Copyright Notices To Your Blog by Kyle Eslick Steps to creating a successful community by Karthik Contains Zero Trans Fat - Truth or Creative Advertising? by JoLynn How-To Guide: Increasing Your Sphere of Influence by Steve Belt Beginners “How toâ€? Guide for SEO by Steve Add social bookmarking buttons to your blog by Girish Bhaskaran How To Deal With Angry Customers by John How to Have a Great Movie Experience by Em Dy How To Make Your Wordpress Blog Safer by Simon Ward Lock Folders without using any Software by Madhur Kapoor Testing Lessons – Top 5 Secrets to Bug Hunting Success! by Debasis Pradhan How To Track New RSS Subscribers Google Analytics in 3 Easy Steps by Rhys How To: Install WordPress locally(on PC) by Sumesh How To Pull In Quick Cash With a Myspace Resource Site by Levi What the hell is a column inch: How to advertise in a local newspaper by Angela How To Prepare For The Perfect Date by Shaun Low How To Ride a Bicycle in the City by Roger Green How do you track your comments? by pelf How to become a better writer in 30 days by Writing Nag Don’t You Want To Be An Internet Marketing Rock Star? by YC 3 Ways On How To Create A Buzz With Social Web Widgets I.E MyBlogLog And Blogrush by Jonathan Kok How To Get Approved for PayPerPost With A New Blog by Karol Krizka Tips and Tricks: How to Write, Send, Reply, and Forward E-Mail by Lillie Amman 5 Tips To Enter Sweepstakes Online by Monika How to clip a cat’s claws without getting nailed by Mary Anne Mind Map Tutorial on Blogging by Monika Eating Crow by Susan Wingate How to Become a Human Calendar by Luciano Passuell The Client Cycle Explained by James Mitchell How to Sleep on a Plane by Sheila Screensaver for Promoting Your Company by David Trick To Rename Internet Explorer Titlebar by Haris […]

  • 19 A Writer’s Words, An Editor’s Eye » Blog Archive » My Votes in the Blue Jar Group Writing Project Sep 19, 2007 at 5:59 am

    […] How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window by Steven Snell - I wish I’d had this advice before changing my theme. […]

  • 20 Madhur Kapoor Sep 19, 2007 at 10:55 am

    i have always faced problems with my blog while changing themes .Thanks for a wonderful post , now i will be able to change the theme of my blog in a proper manner .

  • 21 JoLynn Braley Sep 19, 2007 at 6:02 pm

    Thanks for the tips on testing your page load time, I’ll refer to your post when I change my theme. :)
    I am curious about one thing…is there a reason that you set up a separate dir off of your live site to test your new design as opposed to running it on your localhost? Does it have to do with testing your page load time?

  • 22 Vandelay Design Sep 19, 2007 at 6:34 pm

    Madhur,
    Thanks for your comment, I hope this information helps you.

    JoLynn,
    No, it doesn’t necessarily have to do with load time (although it’s nice to know how it really is loading live). I just found that method to be easier. I do a good bit of work on themes for myself and for clients, so the test folder comes in handy.

  • 23 Blue Jar Group Writing Project Review Sep 19, 2007 at 9:13 pm

    […] How to Successfully Switch Your WordPress Theme - a well written guide to the frustrating problem of testing out new themes… useful for all WordPress bloggers […]

  • 24 My Blue Jar Group Writing Project Selections : Advice for Your Web Design Business : FocusMinded.com Sep 20, 2007 at 5:59 am

    […] How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through a Window by Vandelay Design is great if you design themes. I personally, love WordPress and have went through this process many times. […]

  • 25 3 Bloggers That Right Good And Should Win That There BlueJar Contest - Internet Marketing Sucks! Sep 20, 2007 at 7:27 am

    […] How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window - Frustrating indeed. […]

  • 26 MDB Sep 20, 2007 at 8:07 am

    Thanks for this great guide. This kind of thing has really been a nuiscance to me many times.

  • 27 Bluejar’s Group Writing Project : My picks Sep 20, 2007 at 9:23 am

    […] How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window by Steven Snell […]

  • 28 Karthik Sep 20, 2007 at 9:28 am

    Very exhaustive and well written, as always!
    Gets my vote for the contest at bluejar :)
    Might I add in regards to point 6 that Feedsmith is a very helpful plugin to convert any RSS link to point to Feedburner’s?

  • 29 JoLynn Braley Sep 20, 2007 at 10:49 am

    Thanks, I was just curious about that. :)

  • 30 Vandelay Design Sep 20, 2007 at 10:19 pm

    Karthik,
    Thanks for the support in the contest!

  • 31   blueJAR.com “How To” Group Writing Contest - My Top Picks by Internet Marketing Mind Sep 23, 2007 at 10:03 am

    […] How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window by Steven Snell […]

  • 32 » Why You MUST Write Better Headlines J-NE.WS: The “Social Viral Marketing” Weblog: Using Social Media to drive Viral Marketing Sep 24, 2007 at 8:48 am

    […] Top 5 ways to romance your blog by Phil Van Treuren Public Speaking Made Easy by Cedric Enter a How-To Contest for Cash by Matt Gibbs How To Promote Yourself (When You Don’t Want To.) by Dee How to create a post in Wordpress by Roberta Ferguson How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window by Steven Snell How To Nail That Job Interview In The First Thirty Seconds by Martin Stoddart How to speed up WordPress easily by Marco Simple way to Track Downloads by Shrihari How to Speed up your Torrent downloads by Felix How To Review A Blog by AdTracker How To Be A Flamer by WishBone How To: Add Copyright Notices To Your Blog by Kyle Eslick 7 Steps to creating a successful community by Karthik Contains Zero Trans Fat - Truth or Creative Advertising? by JoLynn Braley Beginners “How toâ€? Guide for SEO by Steve Add social bookmarking buttons to your blog by Girish Bhaskaran How to Have a Great Movie Experience by Em Dy How To Make Your Wordpress Blog Safer by Simon Ward Lock Folders without using any Software by Madhur Kapoor Testing Lessons – Top 5 Secrets to Bug Hunting Success! by Debasis Pradhan How To: Install WordPress locally(on PC) by Sumesh How To Pull In Quick Cash With a Myspace Resource Site by Levi What the hell is a column inch: How to advertise in a local newspaper by Angela How To Prepare For The Perfect Date by Shaun Low How To Ride a Bicycle in the City by Roger Green How do you track your comments? by pelf How to become a better writer in 30 days by Writing Nag Don’t You Want To Be An Internet Marketing Rock Star? by YC How To Get Approved for PayPerPost With A New Blog by Karol Krizka Tips and Tricks: How to Write, Send, Reply, and Forward E-Mail by Lillie Amman 5 Tips To Enter Sweepstakes Online by Monika How to clip a cat’s claws without getting nailed by Mary Anne Mind Map Tutorial on Blogging by Monika Eating Crow by Susan Wingate How to Become a Human Calendar by Luciano Passuell The Client Cycle Explained by James Mitchell How to Sleep on a Plane by Sheila Screensaver for Promoting Your Company by David Trick To Rename Internet Explorer Titlebar by Haris […]

  • 33 Bluejar Group Writing Project: My Picks Sep 25, 2007 at 1:46 am

    […] If you have a new blog, I’m sure changing your theme doesn’t make you twitch in the least. But in about a year or two down the road, you are sure to end up making so many modifications to it that the mere thought of having to redo all the changes will give you the jitters. Fear not, Steven has posted a comprehensive article on How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window to make sure you do it smoothly. […]

  • 34 Bluejar Group Writing Project: My Picks - Contest Beat Sep 25, 2007 at 3:12 am

    […] Top 5 ways to romance your blog by Phil Van Treuren Public Speaking Made Easy by Cedric Enter a How-To Contest for Cash by Matt Gibbs How To Promote Yourself (When You Don’t Want To.) by Dee How to create a post in Wordpress by Roberta Ferguson How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window by Steven Snell How To Nail That Job Interview In The First Thirty Seconds by Martin Stoddart How to speed up WordPress easily by Marco Simple way to Track Downloads by Shrihari How to Speed up your Torrent downloads by Felix How To Review A Blog by AdTracker How To Be A Flamer by WishBone How To: Add Copyright Notices To Your Blog by Kyle Eslick 7 Steps to creating a successful community by Karthik Contains Zero Trans Fat - Truth or Creative Advertising? by JoLynn Braley How-To Guide: Increasing Your Sphere of Influence by Steve Belt Beginners “How toâ€? Guide for SEO by Steve Add social bookmarking buttons to your blog by Girish Bhaskaran How To Deal With Angry Customers by John How to Have a Great Movie Experience by Em Dy How To Make Your Wordpress Blog Safer by Simon Ward Lock Folders without using any Software by Madhur Kapoor Testing Lessons – Top 5 Secrets to Bug Hunting Success! by Debasis Pradhan How To Track New RSS Subscribers Google Analytics in 3 Easy Steps by Rhys How To: Install WordPress locally(on PC) by Sumesh How To Pull In Quick Cash With a Myspace Resource Site by Levi What the hell is a column inch: How to advertise in a local newspaper by Angela How To Prepare For The Perfect Date by Shaun Low How To Ride a Bicycle in the City by Roger Green How do you track your comments? by pelf How to become a better writer in 30 days by Writing Nag Don’t You Want To Be An Internet Marketing Rock Star? by YC 3 Ways On How To Create A Buzz With Social Web Widgets I.E MyBlogLog And Blogrush by Jonathan Kok How To Get Approved for PayPerPost With A New Blog by Karol Krizka Tips and Tricks: How to Write, Send, Reply, and Forward E-Mail by Lillie Amman 5 Tips To Enter Sweepstakes Online by Monika How to clip a cat’s claws without getting nailed by Mary Anne Mind Map Tutorial on Blogging by Monika Eating Crow by Susan Wingate How to Become a Human Calendar by Luciano Passuell The Client Cycle Explained by James Mitchell How to Sleep on a Plane by Sheila Screensaver for Promoting Your Company by David Trick To Rename Internet Explorer Titlebar by Haris […]

  • 35 Roberta Ferguson » Blog Archive » BlueJar Group Writing Project - My picks Sep 25, 2007 at 9:11 am

    […] How to create a post in Wordpress by Roberta Ferguson How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window by Steven Snell How To Nail That Job Interview In The First Thirty Seconds by Martin Stoddart How to speed up WordPress easily by Marco Simple way to Track Downloads by Shrihari […]

  • 36 BlueJAR How To Group Writing Contest | Karol Krizka Sep 28, 2007 at 10:45 am

    […] How to Successfully Switch Your WordPress Theme Without Throwing Your Computer Through the Window by Steven Snell […]

  • 37 simple67 Oct 22, 2007 at 8:57 am

    […] the full story here No Comments so far Leave a comment RSS feed for comments on this post. TrackBack URI […]

  • 38 How To Prevent Getting A Viruse, Worm And Torjan Horse On Your Computer Feb 1, 2008 at 5:58 am

    Worm and Trojan Horse…

    Check out this site to see how you can identify and prevent getting a computer virus, worm and Trojan Horse…

  • 39 Test Your Wordpress Theme before using it | Toast & Egg & Me... Feb 3, 2008 at 6:24 am

    […] of 5 items that we need to take care of but that was not enough. Lately I came across a post on how to successfully switch your Wordpress Theme without throwing your computer through the window. I’m very impress with the method of setting up a test blog. I wanted to try it out but afraid I […]

  • 40 JTPRATT's Blogging Mistakes Feb 3, 2008 at 2:34 pm

    I think that method is a waste of time when you can just install the theme test drive wordpress plugin to test your theme as administrator. You can test all you want and nobody but you will see the new theme you are testing.

  • 41 Troy Feb 15, 2008 at 5:52 pm

    This is a perfect example of why I use (and will continue to use) b2evolution. When you switch skins, even the little code edits you made stay because they have their own widget containers which migrate nicely. Only now am I starting to realize how nice the newer versions of b2evo are :)

  • 42 Alda May 2, 2008 at 7:25 am

    Hi there, thank you for this - very valuable for me, as I’m about to try switching themes. I’m curious about one thing, though - how exactly did you go about switching your theme from your test blog (which is presumably under a different URL) to the main blog? Thanks in advance.

  • 43 Stop, Drop and Blog » Blog Archive » Redesigning Your Blog Theme? May 9, 2008 at 11:06 am

    […] Internetz to see (and make fun of you for)? Me too. I don’t know why I never considered making a test blog. Sharing this because, oh, I know some of my friends need this, too. New Blog(ger) Alert!: One of […]

  • 44 luxury furniture Jul 5, 2008 at 8:05 pm

    I like a lot your article, thanks!

  • 45 Money Ideas Jul 16, 2008 at 3:52 pm

    Great guide man!

  • 46 Burak Önal Jul 25, 2008 at 3:54 am

    Thanks for this great guide. This kind of thing has really been a nuiscance to me many times.