<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tylerdave.com &#187; MovableType</title>
	<atom:link href="http://www.tylerdave.com/tag/movabletype/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tylerdave.com</link>
	<description></description>
	<lastBuildDate>Sun, 31 Jan 2010 04:42:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Redirecting MovableType URLs to WordPress using mod_rewrite / .htaccess</title>
		<link>http://www.tylerdave.com/2009/08/19/redirecting-movabletype-urls-to-wordpress-using-mod_rewrite-htaccess/</link>
		<comments>http://www.tylerdave.com/2009/08/19/redirecting-movabletype-urls-to-wordpress-using-mod_rewrite-htaccess/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 03:50:25 +0000</pubDate>
		<dc:creator>tylerdave (Dave Forgac)</dc:creator>
				<category><![CDATA[System Admin]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[MovableType]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.tylerdave.com/?p=17</guid>
		<description><![CDATA[After following the steps outlined here to import the old MovableType content, I created the following mod_rewrite rules to redirect requests for old content to the new archive copy of the site:

RewriteEngine On
RewriteBase /
    # Redirects individual posts:
RewriteCond %{REQUEST_URI} ^/weblog/archives/[0-9]{6}\.html.*$
RewriteRule ^weblog/archives/([0-9]+)\.html.*$ http://archive.tylerdave.com/$1/ [R=301,L]
    # Redirects monthly archives:
RewriteCond %{REQUEST_URI} ^/weblog/archives/20[0-9]{2}\_[0-9]{2}\.html.*$
RewriteRule [...]]]></description>
			<content:encoded><![CDATA[<p>After following the steps <a href="/2009/08/17/the-archive/">outlined here</a> to import the old MovableType content, I created the following mod_rewrite rules to redirect requests for old content to the new archive copy of the site:</p>
<pre class="brush: plain;">
RewriteEngine On
RewriteBase /
    # Redirects individual posts:
RewriteCond %{REQUEST_URI} ^/weblog/archives/[0-9]{6}\.html.*$
RewriteRule ^weblog/archives/([0-9]+)\.html.*$ http://archive.tylerdave.com/$1/ [R=301,L]
    # Redirects monthly archives:
RewriteCond %{REQUEST_URI} ^/weblog/archives/20[0-9]{2}\_[0-9]{2}\.html.*$
RewriteRule ^weblog/archives/20([0-9]{2})\_([0-9]{2})\.html.*$ http://archive.tylerdave.com/date/20$1/$2/ [R=301,L]
    # Redirects individual posts:
RewriteCond %{QUERY_STRING} ^entry_id=([0-9]{1})$
RewriteRule ^mt/mt-comments\.cgi http://archive.tylerdave.com/00000%1/? [R=301,L]

    # Redirects old comments URLs to the posts:
RewriteCond %{QUERY_STRING} ^entry_id=([0-9]{2})$
RewriteRule ^mt/mt-comments\.cgi http://archive.tylerdave.com/0000%1/? [R=301,L]

RewriteCond %{QUERY_STRING} ^entry_id=([0-9]{3})$
RewriteRule ^mt/mt-comments\.cgi http://archive.tylerdave.com/000%1/? [R=301,L]

    # Redirects other requests to me-comments.cgi to the archive's home page:
RewriteCond %{REQUEST_URI} ^/mt/mt-comments\.cgi.*$
RewriteRule . http://archive.tylerdave.com/ [R=301,L]

    # Redirects the index page::
RewriteCond %{REQUEST_URI} ^/weblog/archives/index.html$
RewriteRule . http://archive.tylerdave.com/ [R=301,L]

    # Redirects RDF feed:
RewriteCond %{REQUEST_URI} ^.*index.rdf$
RewriteRule . http://archive.tylerdave.com/feed/rdf/
</pre>
<p>These rules account for more than 95% of the traffic to the old site.  I will continue to monitor the logs and update the rules as necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerdave.com/2009/08/19/redirecting-movabletype-urls-to-wordpress-using-mod_rewrite-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Archive</title>
		<link>http://www.tylerdave.com/2009/08/17/the-archive/</link>
		<comments>http://www.tylerdave.com/2009/08/17/the-archive/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 04:07:44 +0000</pubDate>
		<dc:creator>tylerdave (Dave Forgac)</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[MovableType]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.tylerdave.com/?p=10</guid>
		<description><![CDATA[I&#8217;ve owned the domain &#8216;tylerdave.com&#8217; since May 1999.  I&#8217;ve used it for a variety of purposes (mainly email) over that time.
From 2002 to 2004 I kept friends up-to-date with my mundane goings-on using Movable Type.  When I originally decided to revive my blog I was going to just scrap the old content.  However after finding [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve owned the domain &#8216;tylerdave.com&#8217; since May 1999.  I&#8217;ve used it for a variety of purposes (mainly email) over that time.</p>
<p>From 2002 to 2004 I kept friends up-to-date with my mundane goings-on using <a href="http://www.movabletype.org/" target="_blank">Movable Type</a>.  When I originally decided to revive my blog I was going to just scrap the old content.  However after finding a number of my old posts still getting a decent amount of traffic I decided to archive the content in another installation of WordPress: <a href="http://archive.tylerdave.com/" target="_blank">archive.tylerdave.com</a></p>
<p>Thanks to <a href="http://www.zader.com/">Joshua Zader</a> for his excellent instructions for <a href="http://www.muditajournal.com/archives/000280.php" target="_blank">importing form MovableType to WordPress</a> while preserving the post IDs.   This will allow me to 301-redirect all of the old URLs to their new location.</p>
<p>All that&#8217;s left to do is some mod_rewrite trickeration so the old URLs map to the new locations and we&#8217;re all set!</p>
<p>Update: <a href="/2009/08/19/redirecting-movabletype-urls-to-wordpress-using-mod_rewrite-htaccess/">mod_rewrite rules for redirecting old ULRs</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerdave.com/2009/08/17/the-archive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
