The interview of the week is a podcast with Jonathan Mendez. You can a transcript of the podcast here.
Upgrading to WordPress 2.3.1
For the longest time I let my blog remain on the 2.02 version of WordPress. One of the reasons that this was the case is that upgrading WordPress used to feel like a potential nightmare. While I am moderately technical, I am no web server geek by any means, and in the past there were steps in the process that felt like they would require me to be one to make sure everything went smoothly.
However, when I checked out the procedure for upgrading to WordPress 2.3.1, it suddenly seemed quite a bit easier to take on. So two weekends ago I took the leap and did it. I do have to say that the Basic WordPress Upgrade Instructions seemed inadequate.
I went straight to the Extended WordPress Upgrade Instructions. Even when I got there, I skipped the overview provided and went straight to the detailed instructions. This is a must do, because it’s only here that you get all the details of everything you need to do. For example, it is only here that we see that there are certain files from the old version that you do not want to delete.
With the detailed instructions everything was fairly straight forward. Plan on allocating a solid continuous 2 hours to do the upgrade, and more if you have done customizations of your theme files (because you will need to redo these). Also, be aware that your blog will be down during this process. Users will not see your content.
As a result, you should plan to do this upgrade at a very low traffic time for your blog. You may also want to provide a temporary web page to replace your blog during the upgrade to let people know that it is going through maintenance. In addition, if you are not technically very adept, make sure you have help available in short order if something goes wrong (I did).
Here is a summary of how it went:
First steps
1. The first thing I needed to do was back up the SQL database file. This is where all the blog posts for your blog live, so you want to make sure you have this backed up. You should, in fact, back this up regularly any way.
If you do not know how to executve this step, hold off on the upgrade until you have found someone who will do it for you. In my case, I leaned on the expertise of my partner, John Biundo, to take care of the backup (he has also set it up so the STC blog gets backed up on a weekly basis automatically.
2. The next step was to back up all of the files in the blog directory on my server. These are all the WordPress 2.02 files. I copied them to a separate directory on my PC. This was a very simple step. One drag and drop in my FTP client, and I was done.
3. This is the step is what the WordPress instruction calls “the most important step in the upgrade process!”. Personally speaking, I looked at the files, they were on my hard drive, end of story. In any event, don’t be too alarmed by this step in the process. Yes – it is important. It’s there to save your bacon if something else goes wrong during the upgrade process.
However, if you are patient, and take your time at this, you should be in good shape. Nonetheless, do not skip the backup setps, or the verification step (ideally verify that you can open the files).
Getting Down To It
4. Hext step is to deactivate all of your plugins. The reason for this is that some of the plugins may conflict with the upgrade process. Easy to do – just go to the Plugins menu and deactivate them one at a time.
5. Next, I donwloaded the WordPress Upgrade Package from the WordPress site onto my hard drive. I put this in a different directory from the one where I put the backed up version. One folder I called WordPress 2.0.2 (where I put the old files) and the WordPress Upgrade Package I put into a folder called WordPress 2.3.1.
In theory, you can go straight to your web server with the files, and unzip them there, but I knew I was going to have to customize the theme files any way, so I wanted to have all the files on my hard drive as well.
6. The next step was to delete the old WordPress files from our web server. Be careful! This is one of the areas where it’s only in the detailed instructions that it explains that there are files that you don’t want to delete. Take your time on this step, and make sure you know exactly what to delete and what not to delete. Failure to do this accurately will cause more work for you later.
I chose to interpret the instructions from WordPress on this point very literally. It may feel silly to not delete a file that you know is going to be overwritten any way, but the more important part of this is that there are files that are not going to be overwritten, and following the WordPress instructions precisely does work (it worked for me in any case).
I used my FTP client to handle the deletions and this took place without any problems.
7. Upload the new files! You are almost through the basic part of this process. The detailed instructions tell you that you must upload everything but the new wp-content folder first, and then you can upload wp-content after everything else is up first. Note that I did not do that quite so precisely as all that – but I would not ignore the advice if I were doing this again.
8. Next up is to run the upgrade script. All you need to do here is open your web browser and open up http://www.yourdomain.com/Your-Wordpress-Folder/wp-admin/upgrade.php. If you have WordPress installed at the root of your site (i.e. the blog is your site), then you can simply invoke http://www.yourdomain.com/wp-admin/upgrade.php. This part of the process took me no more than a few minutes.
9. According to WordPress, the next step is to update your Permalinks and .htaccess file. You start by checking Options->Permalinks to see if there is anything you need to adjust (for example, if you overwrote the config file when you uploaded your files, you may need to set these options again).
In addition, if there is any reason why you would need to update your .htaccess file, this is the time to do it. In my case this was not necessary.
Approaching Paydirt
10. Now here is a step I added to the process – go check your blog and make sure it’s breathing. The plugins will all be deactivated, and any customizations you did to your theme will be missing, but it should be there. Just make sure before you go any further.
11. Go get the latest versions of your plugins. I first downloaded these to the plugins folder in my WordPress 2.3.1 folder on my hard drive, so I’d have them there. Then I uploaded them to the correspnding folder on my web server.
12. Reactivate each of your plugins and make sure that they work. I did this one at a time in sequence. I did have one of my plugins that did not seem to work quite right, but I can live without it, so I deactivated it and moved on.
13. Redo any code customizations you have done to your theme. I use the default theme, and whenever I edit a file in the theme, I save the original file to a different file name (e.g. sidebar.php.original), and then clearly mark my changes with comments, such as “<!– Code Added by Eric –>. Since I did this when I customized the 2.0.2 version this made this stage much easier.
I simply went to the 2.0.2 version of each edited file, found the customizations, and ported them manually into the new (2.3.1) version of the file. Once I had completed each change, I uploaded it, and then tested it out and made sure it was working before I made the next change.
Take it for a Real Test Drive!
14. Once all your customizations to the code (if you had any) are back in, you should be in good shape. Check out your blog home page, some permalink pages, category pages, date archives, and any special pages that you have. Make sure they look like they are all in good order. If anything does not look right, the chances are that one of your code customizations was not done quite correctly.
Summary
Do plan on this taking at least 2 hours, and more if you have code customizations to do. Be very meticulous about it, and make sure you take each step in the same order as described in the WordPress instructions.
Upgrading is worthwhile. For example, there are plugins I wanted to install (such as the Yahoo Shortcuts for WordPress Plugin that will not run on 2.02.
In addition, one of the major reasons is to reduce your vulnerability to hackers. Hackers are a fact of life on the web today, and software providers, such as WordPress, are frequently releasing updates that fix security holes. This is a major reason for staying current, or near current.
Latest Interview: Microsoft’s Mike Nichols
This week’s interview is with Mike Nichols of Microsoft. It was an intriguing discussion about image search, Microsoft’s new video search, and celebrity search.
Read the interview to see what I learned in the discussion, and if you would like to comment on the interview you can do that below.
SEOs Must Work Closely With Development
Have you ever written up a beautiful technical SEO plan for a site and then have it come back from development all messed up? There truly is no win in making a set of SEO recommendations and throwing it over the wall to the development team. The results come back wrong a stunningly high percentage of the time.
There are many reasons for this, but some of the most important ones are:
- The development team may not understand what you have asked them to do.
- The development team may understand it, but think they know a better way to do the same thing.
- They may understand it and implement your changes perfectly, but roll out several other changes at the same time.
- Last, but not least, you could mess up too.
For clarities sake, when I use the term “technical SEO”, I am referring to the practice of reviewing the architecture of a site to improve its search engine visibility. This includes looking for problems such as duplicate content, hidden text, bad redirects, canonical redirect in place, etc. I also lump in the process of doing keyword research and making sure that on site content is matched up with the right keywords.
Regardless of how well you specify these things, you can still easily get back gibberish from development. Don’t get me wrong – I do not mean to indict the competence of the world’s web developers. They may well be doing a perfectly fine job, yet they may implement something that is a search engine optimization disaster.
Example Problems
1. One company I know uses a staging server to test new site versions before rolling them into the main domain. Being savvy, they know that they don’t want the staging sever version of the site to be indexed, so they tagged every page of the site with a NOINDEX metatag.
Can you see where this is going already? You guessed it, they rolled the pages over to the live server one day, with the NOINDEX tags still on the site. Yes, you too can convert a PR8 site to a PR0 in 30 days or less.
2. An oldie but goodie: You can specify 301 redirects until you are blue in the face, but unless you talk specifically to the development team about why it needs to be a 301, and why, you run a real risk that it will come back as a 302. I have seen this happen at least half a dozen times. Yes, you too can unintentionally blow away all the link juice to the source page with this seemingly tiny mistake.
3. I have also seen it happen that a set of recommended site changes were implemented perfectly, but the development team decided to put the new versions on all new URLs. This simple act screws up the search engines understanding of the site. This *probably* can be fixed with 301 redirects from the old URLs to the new ones, but why take a risk on that?
And, of course, if the the site changes come back with new URLs and the 301 redirects are not already in place … well, yes, that’s almost as good as NOINDEXing the page as I outlined in the first example.
Solutions
Ultimately, the way to avoid these types of issues is to have the SEO work in tight coordination with development. The SEO must be prepared to communicate at a detailed level with the developer. The web developer needs a real understanding of what needs to be done, and why it must be done a certain way.
In addition, sometimes these problems come about because of limitations in a Content Management System or web development platform. Coming up with a best second choice of what to do in these situations requires that the SEO understand what the limitations are.
These things can only happen if there is a close coordination between the developer and the SEO from the very beginning.
Latest Interview: Google’s Sep Kamvar
Our interview of this week is with Google’s Sep Kamvar. It provided a lot of insight into Google’s views on personalization.
Check it out by reading the article. If you want to comment on it, please go ahead and do so below.
Webmaster Radio Interview
Just a quick note to point you to my interview on Webmaster Radio. In the interview Dave Davies asks me about my thoughts on the SES Chicago event, and where it’s going.
Nothing earth shaking there, but hey, you get to hear my silky smooth voice!






