Archive for July, 2008

Changing Blogger Powered Blogs To Wordpress

Wednesday, July 30th, 2008

I gave my mom my old weight loss blog a few years back. In spite of publishing it on its own domain (smart) I was still using Blogger (dumb) when I gave it to her. It is not that Blogger is bad, but that Wordpress offers so many customization options that allow you to effectively rank for a wider array of keywords, and thus earn more per word.

These are the steps I did to help move her blog over from Blogger to Wordpress.

Step 1: Download and install Wordpress (also requires setting up a MySQL database).

Step 2: Make Wordpress URL configurations.

• set the category base to /c and set the tag base to /t
• set the post slug to /%postname%/

Step 3: Cloned my mom’s old blogger theme design using Themepress (cost $10), and then had to hack the CSS by hand for about 10 minutes.

After verifying the layout was fairly decent I deleted the blogroll links and the opening post.

Step 4: publish my mom’s old blog onto blogspot.com so I could import it to Wordpress using the one click import located at domainname.com/wp-admin/import.php

After importing it I used Blogger to republish the blog back to her domain instead of leaving a copy on Blogspot, such that she does not have a stray cloned version of her site floating around.

Once import was complete I looked it over and verified it generally looked good. If you still have your old site up you can view the Wordpress blog version by going to yoursite.com/index.php (presuming you installed Wordpress in the root of your site).

Step 5: rewrite the .htaccess file to include both the Wordpress specific functions and rewrite rules needed to lose the dates from the URLs. The exact .htaccess file you need to write depends on your old URL structure and file extensions (the below one redirects html and shtml files). Our .htaccess file looked like this (note there were a few dozen lines like the first line, but I limited it to one in this example for brevity)

redirect 301 /2008_07_01_archive.html
http://www.fattyweightloss.com/2008/07/

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule (\d{4})/(\d+)/(.*)\.shtml$ $3/ [L,R=301]
RewriteRule (\d{4})/(\d+)/(.*)\.html$ $3/ [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Please note that when Wordpress imports your blog some of the stop words are removed from the URLs, which can end up creating some mean 404 errors until you line up the new URLs with the old ones (which we deal with in step 7). Also, if you used Blogger tag pages then you might need to make your .htaccess file a bit more complex than the above one, adding entries to redirect the tag pages.

Step 6: Delete my mom’s old static file archives.

If you are afraid that something might get hosed up with the move you can rename the old archive files and folders. For example:

(more…)

Are Bloggers Unaware?

Monday, July 21st, 2008

I’ve been reading Blogging Heroes by Michael Banks and I’ve noticed that throughout the 30 interviews (I’ve read 28 of them so far.) that there are a couple of common themes that all of these professional bloggers tend to come back to. Some of the folks that are interviewed include Mary Jo Foley, Gina Trapani, Chris Anderson, Philipp Lenssen, Frank Warren, Steve Rubel, Gary Lee, Robert Scoble, Peter Rojas, Rebecca Lieb, John Neff and Brad Hill.

(more…)

Problems With Blog Metrics And How To Solve Them

Tuesday, July 15th, 2008

Like most bloggers, I struggle with true metrics for my blog. The problem isn’t so much about technology as it is about understanding what is useful to know about my blog to make it better and attract more of an audience. I’ve got lots of metrics that I can look at today, from my Technorati ranking to where my blog is on the Power150 list. I can check the number of comments I get, or look at the number of daily or monthly impressions. There are several big problems with any of these approaches, though:

  1. RSS skews most metrics - When readers are consuming your posts through RSS, most of the time they don’t need to visit your site. While this may reduce your page views and monthly visitors, it can often lead to a greater engagement and wider distribution. 
  2. Inbound links aren’t all equal - Perhaps the greatest injustice of many metrics systems today is that they reward “linkbait listing” (the activity of listing a large number of blogs and links in the hopes those sites will also link back to you). As a result being part of some of these lists, some blogs can be propelled to higher numbers of links and authority without producing any quality content to earn it.
  3. Content expires though it may still be relevant - One of the most frustrating things about Technorati as a tool is that it expires older content. There is lots of good content that is getting ignored simply because it was written over six months ago.
  4. There are multiple ways to measure engagement - Looking only at links to a post or comments are incomplete measures. People use different sites and different ways to engage with content, from commenting to saving it.

(more…)

Protect Your Blog From Hackers

Monday, July 7th, 2008

Every day hackers sit out there an pray on good sites for no good reason. Some days they are even successful. In the past few months I’ve worked with a few blogs to detect and remove hidden code that was causing various unwanted issues. It happens to the best of blogs, and knowing how to find and remove it is just as important as trying to prevent it.

Blog #1 - The iFrame - The first indicator that something was wrong here was the time it took the blog to load. It seemed abnormally long. I popped open Safari’s activity window and noticed it was connecting out to an IP address that I didn’t recognize.
(more…)