<?php 


include("../../../../../site-common/common-functions.php");


set_title("July 28, 2003 : Jeremiah Oeltjen's Blog");

page_start();
?>
<div class="breadcrumb">
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="/" itemprop="url"><span itemprop="title">Home</span></a> &#x203a; 
</div>

<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="/blog/" itemprop="url"><span itemprop="title">Blog</span></a> &#x203a; 
</div>


<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="/blog/archives/2003/" itemprop="url"><span itemprop="title">2003</span></a> &#x203a; 
</div>
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="/blog/archives/2003/07/" itemprop="url"><span itemprop="title">July</span></a> &#x203a; 
</div>
<div class="this-node">
<span class="title">28</span>
</div>


</div>

<div class="blog">

<div id="menu">

<a href="https://jeremiah.oeltjen.us/blog/archives/2003/07/24/">&laquo; July 24, 2003</a> &#x2039;

<a href="https://jeremiah.oeltjen.us/blog/">Main</a>

&#x203a; <a href="https://jeremiah.oeltjen.us/blog/archives/2003/07/30/">July 30, 2003 &raquo;</a>

</div>

</div>

<div class="blog">




<h2 class="date">July 28, 2003</h2>


<div class="blogbody">
<a name="000023"></a>
<h3 class="title">SCO/Nigerian Spam Parody</h3>

<p>All I can say is, "<a title="Jim O'Halloran's Weblog: If SCO were Nigerian Spammers..." href="http://www.jimohalloran.com/archives/000271.html">This is funny.</a>"</p>



<div class="posted">
Posted by <a href="http://jeremiah.oeltjen.us/" rel="author">Jeremiah Oeltjen</a> at <a href="https://jeremiah.oeltjen.us/blog/archives/2003/07/28/sconigerian-spa"><time datetime="2003-07-28T09:07:26-06:00"> 9:07 AM</time></a>


</div>

</div>






<div class="blogbody">
<a name="000022"></a>
<h3 class="title">New URL's</h3>

<!-- Revision History Follows -->
<!-- 20030730:0005 Replaced nbsp elements in long URL with standard spaces because to allow it to wrap. -->
<!-- End revision history -->
<p>In reading Elizabeth Lawley's post about <a title="mamamusings: redirection solution" href="http://mamamusings.net/archives/2003/07/24/redirection_solution.php"><acronym title="Uniform Resource Locator">URL</acronym> redirection</a> that she is now using to redirect the archive links using MovableType's default six-digit numbered style (/archives/000022.html) to the date/dirified title just like <a title="dive into mark" href="http://diveintomark.org/">Mark Pilgrim</a>. This is a really neat idea and makes sense for her to do now that she has moved to a new server.</p>
<p>I like this idea. Now the URL takes on some meaning. Sometimes it even seems to help in search engine rankings if a keyword is part of the URL. It also conveniently organizes the archives into subdirectories instead of having one directory loaded with thousands of files (once my blog grows to that size).</p>
<p>Here is how I did it</p>
<ol>
<li>I added an htaccess template (the same as the forementioned site) to the Index Templates. I named the file htaccess (without the dot) because I didn't want <acronym title="MovableType">MT</acronym> generating a real .htaccess file whose contents I had not yet verified. This provided permanent redirects (<acronym title="HyperText Transfer Protocol">HTTP</acronym> code 301) from the old archives to the new ones.</li>
<li>In the "Weblog Config" section I changed the naming scheme of the individual archives to <tt>&lt;$MTArchiveDate format="%Y/%m/%d"$&gt;/&lt;$MTEntryTitle dirify="1"$&gt;.php</tt>. For some reason this didn't entirely work by copy/paste. The date formatting and dirify attributes weren't applied so I was getting URL's like http://kb0off.sheddwellers.org/blog/archives/July 24, 2003 08:08 AM/Paper Folding.php . I typed it in by hand and it worked like a charm.</li>
<li>Rebuilt all files</li>
<li>Checked out the newly generated htaccess file and moved it to .htaccess in the archives directory.</li>
<li>Deleted the htaccess template since I should never need it again.</li>
</ol>
<p>My weblog now has fancy new URL's and I have Liz and Mark to thank.</p>
<p><strong>Update:</strong> Mark has his <a title="Templates [dive into mark]" href="http://diveintomark.org/about/templates/">templates</a> available for public viewing. This page also includes the archive naming instructions.</p>



<div class="posted">
Posted by <a href="http://jeremiah.oeltjen.us/" rel="author">Jeremiah Oeltjen</a> at <a href="https://jeremiah.oeltjen.us/blog/archives/2003/07/28/new-urls"><time datetime="2003-07-28T08:47:50-06:00"> 8:47 AM</time></a>


</div>

</div>


</div>
<?php
page_end();
?>
