Helping people with computers... one answer at a time.

Moving an existing MovableType based blog to a new server can be a bit of work, especially if there are differences on the new server.

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.

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.

Article C1848 - October 11, 2003 « »

Share this article with your friends:

Share this article on Facebook Tweet this article Email a link to this article
Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

3 Comments
sharon
August 16, 2004 5:15 PM

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.

sharon
August 16, 2004 5:16 PM

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.

thunderdome
December 29, 2005 8:54 PM

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.

Comments on this entry are closed.

If you have a question, start by using the search box up at the top of the page - there's a very good chance that your question has already been answered on Ask Leo!.

If you don't find your answer, head out to http://askleo.com/ask to ask your question.