<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aidan (Donghyuk) Lee</title>
    <description>The latest articles on DEV Community by Aidan (Donghyuk) Lee (@__b1d78f37ba92b503dab3).</description>
    <link>https://dev.to/__b1d78f37ba92b503dab3</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4212140%2Fff608a74-b916-4466-a3dc-7639e25c923c.png</url>
      <title>DEV Community: Aidan (Donghyuk) Lee</title>
      <link>https://dev.to/__b1d78f37ba92b503dab3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/__b1d78f37ba92b503dab3"/>
    <language>en</language>
    <item>
      <title>I built a WordPress migration tool that checks its own work</title>
      <dc:creator>Aidan (Donghyuk) Lee</dc:creator>
      <pubDate>Wed, 28 Oct 2026 05:02:37 +0000</pubDate>
      <link>https://dev.to/__b1d78f37ba92b503dab3/i-built-a-wordpress-migration-tool-that-checks-its-own-work-2i5p</link>
      <guid>https://dev.to/__b1d78f37ba92b503dab3/i-built-a-wordpress-migration-tool-that-checks-its-own-work-2i5p</guid>
      <description>&lt;p&gt;Most WordPress migration tools end the same way: &lt;em&gt;export finished&lt;/em&gt;. Finished is not the same as complete. Did every post make it? Every image? Does every old link still land somewhere?&lt;/p&gt;

&lt;h2&gt;
  
  
  What breaks when people leave WordPress
&lt;/h2&gt;

&lt;p&gt;Before writing code, I collected 300 GitHub issues from four popular WordPress export tools and sorted them by title:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;27% were the tool itself crashing, timing out, or failing to install&lt;/li&gt;
&lt;li&gt;14% were about images&lt;/li&gt;
&lt;li&gt;12% were about URLs and permalinks&lt;/li&gt;
&lt;li&gt;10% were about HTML turning into broken Markdown&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also read 639 Hacker News comments from 21 threads about leaving WordPress. 111 of them describe a concrete difficulty. The most common were build and deploy work afterwards, losing comments, getting content out, and non-developers losing the ability to edit.&lt;/p&gt;

&lt;h2&gt;
  
  
  What wp-move does
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Reads posts, pages, media, categories and tags through the REST API. It only reads.&lt;/li&gt;
&lt;li&gt;Converts each post to Markdown with front matter. Anything Markdown can't hold (tables, embeds, forms) stays as HTML and is listed.&lt;/li&gt;
&lt;li&gt;Downloads images hosted on your site and rewrites their paths.&lt;/li&gt;
&lt;li&gt;Maps every old URL to its new path and writes &lt;code&gt;_redirects&lt;/code&gt; and nginx files.&lt;/li&gt;
&lt;li&gt;Writes &lt;code&gt;report.html&lt;/code&gt; and &lt;code&gt;report.json&lt;/code&gt;, and exits with code 2 if posts, media, image references or internal links are missing.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;uvx &lt;span class="nt"&gt;--from&lt;/span&gt; git+https://github.com/AidanKR/wp-move@v0.0.1 wp-move pull https://your-site.example &lt;span class="nt"&gt;--out&lt;/span&gt; out
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Results on the demo site
&lt;/h2&gt;

&lt;p&gt;On a local WordPress 7.1.3 with the official theme test data:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;144/144 posts and pages, including a draft and a scheduled post&lt;/li&gt;
&lt;li&gt;37/37 media originals&lt;/li&gt;
&lt;li&gt;0 pages under 95% of their words, 0 missing images, 0 broken internal links&lt;/li&gt;
&lt;li&gt;164/164 old URLs redirect to the new path through nginx (282/282 with &lt;code&gt;--url-style slug&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then I broke it on purpose: I deleted one image and one post from a copy. The report showed 143/144, 36/37, and 3 missing image references, and the command exited with code 2.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does not do yet
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;It has been tested only on the theme test data, not on real production sites.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;_redirects&lt;/code&gt; has not been tested on Netlify or Cloudflare Pages yet.&lt;/li&gt;
&lt;li&gt;No comment migration, no category or tag pages, no theme. Shortcodes are detected but not converted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you own a WordPress site, try it and open an issue with what the report got wrong (leave out anything private).&lt;/p&gt;

&lt;p&gt;GitHub (MIT): &lt;a href="https://github.com/AidanKR/wp-move" rel="noopener noreferrer"&gt;https://github.com/AidanKR/wp-move&lt;/a&gt;&lt;br&gt;
Demo video (6.5 min): &lt;a href="https://youtu.be/-IhrdRSFLl8" rel="noopener noreferrer"&gt;https://youtu.be/-IhrdRSFLl8&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Disclosure: this post was drafted by an AI agent (Claude) that also helped build the tool. Every number above comes from measured runs documented in the repository README.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>python</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
