Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

How do I move my Moveable Type web log?

How do I move my Moveable Type web log?

I asked myself this question earlier this week.
Ask Leo! and
Puget Sound Software
both moved from one server to another and moving the blogs had
me worried. But it turned out that moving
Moveable Type (MT) was one of the easier
steps.

Become a Patron of Ask Leo! and go ad-free!

Ask Leo! had been housed on
an Windows 2000 server running IIS as a branch off of the
Puget Sound Software
web site. It’s new home is a Linux box running the
Apache web server. And not only was I
moving both sites and their blogs, but at the same time I moved
Ask Leo! into its own
separate top level domain.

Step one was easy: install Moveable Type on the new Linux
box. (Those instructions are here, by
the way.) The next steps were to transfer my custom templates
and graphics. That involved both hand-copying the images and
an additional style-sheet as well as updating the templates
via the MT interface. Since I was also changing the directory
layout and web log home page somewhat, I spent some time
tweaking and correcting at this point until I had a proper
looking, but empty, blog.

The next question was how to move the content of the blog.
Ask Leo! has a bunch of
content I wanted to make sure to preserve. It turns out that MT
has a reasonably functional export / import ability. By
“reasonably functional” I mean that while it may not have a
pretty UI and includes some hard coded directory locations –
get past that and it just works. As we’ll see in a moment I could have left it alone, but because the directory
structure was also changing I decided to clean up the links
within the blog entries to reflect the new layout. Once done
with that I had a functioning blog with all my old content at
my new location.

That left one last remaining question. Since the site’s
gotten some publicity over the past couple of months people
have naturally taken bookmarks to the site or to blog entries
of particular interest. With the move I wanted to keep those
working as much as possible.

In the blog’s old home, http://pugetsoundsoftware.com/askleo-blog,
and in places that used to redirect there I simply placed a
redirection to the new home at
http://ask-leo.com.

Preserving links to individual pages, however, proved a
little more of a challenge. Enter URL re-writing. I’ve written
before about the
availability
of URL rewriting on IIS
. The new host is Apache based and
thus supports URL rewriting it natively. Old URLs of the form:

http://pugetsoundsoftware.com/s/archives/000013.html

are now transparently transformed into their true location:

http://ask-leo.com/archives/000013.html

The most important of these might well be the RSS feed
for the blog. What used to be
http://pugetsoundsoftware.com/askleo-blog/index.rdf is now
transparently transformed into
http://ask-leo.com/index.rdf
the feed’s correct location. Details of Apache’s URL rewriting
can be found here.

Each step a bit of a learning experience but the results are
worth it. Both of the
Ask Leo! and
Puget Sound Software
websites have a fatter internet connection, a lot of space to
grow, and hopefully a fast and bright future.

Subscribe to Confident Computing! Tech problem solving & safety tips & a weekly confidence boost in your inbox every week.

I'll see you there!

10 Reasons Your Computer is Slow

Slow Computer?

Speed up with my special report: 10 Reasons Your Computer is Slow, now updated for Windows 10.

NOW: name your own price! You decide how much to pay -- and yes, that means you can get this report completely free if you so choose. Get your copy now!

3 comments on “How do I move my Moveable Type web log?”

  1. i have windows xp & yahoo &msn messenger on my computer,once you delete your messegers they go to temp internet files under note pad.Could you please explain to me how i can get the messege back as it was accidently deleted.You cant understand what is in the notepad because it is all numbers,letters and shapes.Hope that you can help me.

    Reply
  2. i have windows xp & yahoo &msn messenger on my computer,once you delete your messegers they go to temp internet files under note pad.Could you please explain to me how i can get the messege back as it was accidently deleted.You cant understand what is in the notepad because it is all numbers,letters and shapes.Hope that you can help me.

    Reply
  3. Hi,
    This is a reply to Sharon. You can download the free trial of ‘TuneUp Utilities 2006’. If you have not messed too much with ur pc after the deletion, u have a good chance of seeing your files again by clicking on ‘File Recovery and Destruction’ -> ‘Tune Up Undelete’. Note: This process can also be followed by right-clicking on the recyclebin and selecting TuneUp Undelete.
    Hope it solves ur problem.

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.