<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/10/resetting-basenames.html" />
  <link rel="self" type="application/atom+xml" href="http://forums.movabletype.org/atom.xml" />
  <id>tag:forums.movabletype.org,2009://24/tag:forums.movabletype.org,2008://24.10366-</id>
  <updated>2009-11-28T12:33:17Z</updated>
  <title>Comments for Resetting basenames</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.25</generator>
  <entry>
    <id>tag:forums.movabletype.org,2008://24.10366</id>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/10/resetting-basenames.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.movabletype.org/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=24/entry_id=10366" title="Resetting basenames" />
    <published>2008-10-24T23:41:48Z</published>
    <updated>2009-01-13T21:45:23Z</updated>
    <title>Resetting basenames</title>
    <summary>I&apos;ve been blogging with MT for nearly 5 years, starting with MT 2.661. My entry basenames are all short, except for the entries created in MT 4.21 when I set the basename length longer. My entries, however, are currently published...</summary>
    <author>
      <name>salguod</name>
      <uri>http://www.salguod.net</uri>
    </author>
    
    <category term="General" />
    
    <content type="html" xml:lang="en" xml:base="http://forums.movabletype.org/">
      <![CDATA[<p>I've been blogging with MT for nearly 5 years, starting with MT 2.661.  My entry basenames are all short, except for the entries created in MT 4.21 when I set the basename length longer.  </p>

<p>My entries, however, are currently published using the entry ID.  I'm going to change that to use the basename, but I'd like to reset the basename on all my entries to reflect the longer basename before I do so.</p>

<p>I've found Brad Choate's entrysetbasename plugin, but that's designed to address the change in dirify, not simply to reset the basename.</p>

<p>How do I reset them?  </p>]]>
      
    </content>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.10366-comment:13838</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.10366" type="text/html" href="http://forums.movabletype.org/2008/10/resetting-basenames.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/10/resetting-basenames.html#c13838" />
    <title>Comment from BloggyThingy on 2008-10-24</title>
    <author>
        <name>BloggyThingy</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Hi. I don't know if it's possible to do that in a direct way. What happens if you simply republish the previously published entries AFTER changing the blog to use basenames instead of the entry ID? </p>

<p>If that doesn't work, you might try this. But take a database backup first!!!</p>

<p>After you change the blog so that it uses the basename rather than the id...</p>

<p>Use the Export function to export the Entries. </p>

<p>Delete all the entries using the regular MT Manage Entries page. </p>

<p>Import the exported files you just created. </p>

<p>Publish the site. </p>

<p>The entries should all be created using the basename. </p>

<p>No guarantee, but I *think* that might work (I've never actually published using the entry ID.) </p>

<p>HTH<br />
</p>]]>
    </content>
    <published>2008-10-25T04:08:29Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.10366-comment:13842</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.10366" type="text/html" href="http://forums.movabletype.org/2008/10/resetting-basenames.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/10/resetting-basenames.html#c13842" />
    <title>Comment from salguod on 2008-10-24</title>
    <author>
        <name>salguod</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I've decided to give up on it on account of me applying a new template set which reset my archive mappings unexpectedly.  So, I've got to get some redirects in place ASAP and live with the basenames as is.</p>

<p>Oh well.</p>]]>
    </content>
    <published>2008-10-25T04:49:10Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.10366-comment:13908</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.10366" type="text/html" href="http://forums.movabletype.org/2008/10/resetting-basenames.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/10/resetting-basenames.html#c13908" />
    <title>Comment from salguod on 2008-10-27</title>
    <author>
        <name>salguod</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>OK, I'm not giving up just yet.  I reverted to my old templates through a database backup and I'd like to reset all my basenames to the new, longer names if that's possible before I switch back.</p>

<p>Is this possible?   BloggyThingy's idea seems a little extreme and risky.</p>]]>
    </content>
    <published>2008-10-27T17:44:42Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.10366-comment:16272</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.10366" type="text/html" href="http://forums.movabletype.org/2008/10/resetting-basenames.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/10/resetting-basenames.html#c16272" />
    <title>Comment from Mike T on 2009-01-13</title>
    <author>
        <name>Mike T</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p><a href="http://www.codemonkeyramblings.com/code/reset-basename-script/">This script</a> may be of use to people wanting to reset their entry basenames.</p>]]>
    </content>
    <published>2009-01-13T21:24:11Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.10366-comment:16280</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.10366" type="text/html" href="http://forums.movabletype.org/2008/10/resetting-basenames.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/10/resetting-basenames.html#c16280" />
    <title>Comment from salguod on 2009-01-13</title>
    <author>
        <name>salguod</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>That would have been handy, but I've made the switch and I don't want to add a bunch more redirects.</p>]]>
    </content>
    <published>2009-01-13T21:45:23Z</published>
  </entry>

</feed>
