<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #904: Issues to consider in the migration from Drupal to WordPress</title>
    <link>http://localhost:8080/trac/ticket/904</link>
    <description>&lt;p&gt;
A few weeks ago Ade said he though it would be worth me opening a ticket to use to flag up some issues to be considered in the migration of the &lt;a class="ext-link" href="https://www.transitionnetwork.org.uk/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Transition Network site&lt;/a&gt; from Drupal 6 to &lt;a class="wiki" href="http://localhost:8080/trac/wiki/WordPress"&gt;WordPress&lt;/a&gt;.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/904</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 19 Feb 2016 11:15:55 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/904#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/904#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;h2 id="StaticArchive"&gt;Static Archive&lt;/h2&gt;
&lt;p&gt;
I would suggest it would be worth generating a static archive of the Drupal site using &lt;a class="ext-link" href="https://www.httrack.com/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;HTTrack&lt;/a&gt;, this is quite simple to run from the command line on a server, an example of the output generated is the &lt;a class="ext-link" href="http://archive.transitiontowntotnes.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Totnes Drupal Site Archive&lt;/a&gt;. Ideally forms would be disabled before doing this (search and such like won't work with static HTML!), but this can also be done using CSS tricks to replace all the forms with some text, see for example how this was done for the &lt;a class="ext-link" href="http://www.intransitionmovie.com/screenings/organise-a-screening/community-screenings/index.html#1"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;static In Transition Movie archive&lt;/a&gt;, I'd be happy to sort this out.
&lt;/p&gt;
&lt;h2 id="ImportingContent"&gt;Importing Content&lt;/h2&gt;
&lt;p&gt;
I would suggest that every attempt should be made to import as much of the existing content as possible and for it to remain on the existing URLs so as to ensure that as few external links into the site as possible are broken, as Tim B-L pointed out around 18 years ago, &lt;a class="ext-link" href="https://www.w3.org/Provider/Style/URI.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Cool URIs don't change&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Last time the site was moved, in 2011, from a &lt;a class="ext-link" href="http://2010.archive.transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;wiki which is archived here&lt;/a&gt; and &lt;a class="ext-link" href="http://2011.archive.transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;here&lt;/a&gt; a fair amount of work was put into sorting out Apache redirects to ensure that most people found their way onto the right pages, but more could have been done -- there were huge numbers of 404's from people following old links for years afterwards.
&lt;/p&gt;
&lt;p&gt;
So looking at one example article:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://www.transitionnetwork.org/blogs/rob-hopkins/2016-02/chris-johnstones-burnout-tips-all-one-place"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/blogs/rob-hopkins/2016-02/chris-johnstones-burnout-tips-all-one-place&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
this URL should be able to be replicated in &lt;a class="wiki" href="http://localhost:8080/trac/wiki/WordPress"&gt;WordPress&lt;/a&gt; using the permalink settings, something like this:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/blogs/%author%/%year%-%monthnum%/%postname%
&lt;/pre&gt;&lt;p&gt;
The images should also remain on the existing URL's if possible, even if we end up having to host a set from Drupal and in addition import the images into &lt;a class="wiki" href="http://localhost:8080/trac/wiki/WordPress"&gt;WordPress&lt;/a&gt;, the article above has one image at this URL:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://www.transitionnetwork.org/sites/www.transitionnetwork.org/files/hotchris_3.jpg"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/sites/www.transitionnetwork.org/files/hotchris_3.jpg&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Importing the user accounts and permissions and their relationship to content is also a consideration so that authors of content are able to edit their imported content.
&lt;/p&gt;
&lt;p&gt;
If content is unable to stay on existing URLs then I'd be happy to help sorting out Apache rules to ensure that as many URLs as possible still work.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>paul</dc:creator>

      <pubDate>Fri, 19 Feb 2016 12:07:48 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/904#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/904#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.5&lt;/em&gt; to &lt;em&gt;1.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Great advice!
&lt;/p&gt;
&lt;p&gt;
A couple of related things you'll want to consider as part of the migration :
&lt;/p&gt;
&lt;p&gt;
Drupal aliases (Existing aliases for node paths)
&lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/build/path"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/build/path&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Existing 403 redirects
&lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/build/path-redirect"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/build/path-redirect&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
You'll probably also need to investigate menu and taxonomy from the perspective of preventing broken links:
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/content/taxonomy/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/content/taxonomy/&lt;/a&gt;
&lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/build/menu"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/build/menu&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>