<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Complex CMS Migration Service - Migrate Content (Posts about drupal)</title><link>https://migratecontent.com/</link><description></description><atom:link href="https://migratecontent.com/categories/drupal.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Mon, 23 Mar 2026 12:51:16 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Preserving Your SEO During a Drupal to WordPress Migration</title><link>https://migratecontent.com/preserving-seo-drupal-wordpress-migration/</link><dc:creator>Aiden</dc:creator><description>&lt;p class="intro"&gt;SEO is consistently the number one concern for site owners considering a Drupal to WordPress migration, and rightly so. Years of ranking authority, backlinks, and organic traffic are at stake. The good news is that with proper planning, your search rankings can survive the transition intact. The key is understanding exactly where the risks are and addressing each one systematically before launch.&lt;/p&gt;

&lt;h2&gt;Why Migration Puts Your SEO at Risk&lt;/h2&gt;

&lt;p&gt;Search engines index your site based on URLs, content structure, and metadata. A platform migration touches all three. When Google crawls your site after launch and finds different URLs, missing pages, or changed metadata, it needs to re-evaluate your content. That re-evaluation doesn't always go in your favour.&lt;/p&gt;

&lt;p&gt;The specific risks fall into four categories:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;URL changes.&lt;/strong&gt; Drupal and WordPress generate URLs differently. Without proper redirect mapping, every changed URL becomes a dead link in Google's index.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Missing metadata.&lt;/strong&gt; Meta titles, descriptions, and Open Graph data stored in Drupal modules don't transfer automatically.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Taxonomy page loss.&lt;/strong&gt; Drupal's vocabulary listing pages may drive significant traffic. If those pages disappear after migration, that traffic goes with them.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Broken internal links.&lt;/strong&gt; Links embedded in content that point to old URL structures will return 404 errors.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;URL Structure: The Critical Difference&lt;/h2&gt;

&lt;p&gt;This is where most SEO damage occurs in Drupal to WordPress migrations. The two platforms handle URLs in fundamentally different ways.&lt;/p&gt;

&lt;h3&gt;How Drupal Handles URLs&lt;/h3&gt;

&lt;p&gt;Drupal stores URL aliases in the &lt;code&gt;url_alias&lt;/code&gt; (Drupal 7) database table, separate from the content itself. Each node can have multiple aliases: &lt;code&gt;/about-us&lt;/code&gt;, &lt;code&gt;/about&lt;/code&gt;, and &lt;code&gt;/node/28&lt;/code&gt; can all point to the same page. Aliases support forward slashes, allowing deep path structures like &lt;code&gt;/services/migration/drupal-to-wordpress&lt;/code&gt;. The character limit is 255.&lt;/p&gt;

&lt;h3&gt;How WordPress Handles URLs&lt;/h3&gt;

&lt;p&gt;WordPress stores a single slug in the &lt;code&gt;post_name&lt;/code&gt; field within &lt;code&gt;wp_posts&lt;/code&gt;. URLs are generated dynamically using rewrite rules based on your permalink settings. Slugs cannot contain forward slashes or quotation marks, and WordPress converts accented characters to their ASCII equivalents. The character limit is 200. Unlike Drupal, WordPress has no mechanism for storing multiple URL variations per page.&lt;/p&gt;

&lt;h3&gt;What This Means for Your Migration&lt;/h3&gt;

&lt;p&gt;Any Drupal alias that contains forward slashes, exceeds 200 characters, or includes special characters can't be replicated directly in WordPress. Each of these cases needs a 301 redirect from the old URL to the new one. For sites with hundreds or thousands of URL aliases, this mapping exercise is a significant piece of work, but it's non-negotiable if you want to preserve your rankings.&lt;/p&gt;

&lt;h2&gt;Building Your Redirect Map&lt;/h2&gt;

&lt;p&gt;The redirect map is the single most important SEO deliverable in any migration. It's a complete list that pairs every old Drupal URL with its new WordPress equivalent.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Export all Drupal URL aliases:&lt;/strong&gt; pull the complete URL alias table, including any &lt;code&gt;/node/NID&lt;/code&gt; paths that may be indexed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Map each alias to its WordPress URL:&lt;/strong&gt; based on your chosen permalink structure and any slug changes&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Include taxonomy pages:&lt;/strong&gt; Drupal vocabulary listing pages (&lt;code&gt;/categories/topic-name&lt;/code&gt;) need redirects to their WordPress equivalents&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Handle user pages and views:&lt;/strong&gt; if your Drupal site has indexed user profiles or Views-generated pages, these need redirects too&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Implement as server-level redirects:&lt;/strong&gt; &lt;code&gt;.htaccess&lt;/code&gt; rules (Apache) or nginx rewrite rules are faster and more reliable than plugin-based redirects&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I implement redirects at the server level rather than through WordPress plugins. Server-level redirects execute before WordPress even loads, which means faster response times and no dependency on a plugin that might be deactivated or conflict with an update.&lt;/p&gt;

&lt;h2&gt;Meta Data Migration&lt;/h2&gt;

&lt;p&gt;Drupal sites typically store meta titles, descriptions, and Open Graph data through the Metatag module. This data lives in dedicated database tables, separate from node content. WordPress SEO plugins (Yoast, Rank Math, SEOPress) store equivalent data as key-value pairs in the &lt;code&gt;wp_postmeta&lt;/code&gt; table.&lt;/p&gt;

&lt;p&gt;The migration involves exporting Drupal's metatag records and converting them into the format expected by your chosen WordPress SEO plugin. This isn't something automated migration tools handle, because each SEO plugin uses its own meta key naming convention.&lt;/p&gt;

&lt;p&gt;For high-value pages, I recommend a manual review of meta titles and descriptions during migration. A platform change is a good opportunity to tighten up metadata that's been neglected. However, wholesale rewrites should wait until after migration, once you've confirmed your baseline rankings are stable.&lt;/p&gt;

&lt;h2&gt;Taxonomy Pages and Listing Pages&lt;/h2&gt;

&lt;p&gt;Drupal's taxonomy system is more flexible than WordPress's default categories and tags. Drupal supports multiple vocabularies with custom fields, and each vocabulary can generate listing pages that rank independently in search results.&lt;/p&gt;

&lt;p&gt;Before migration, audit your analytics for taxonomy pages that drive meaningful traffic. These need explicit handling:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Vocabulary-to-taxonomy mapping.&lt;/strong&gt; Decide which Drupal vocabularies become WordPress categories, tags, or custom taxonomies.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Listing page URLs.&lt;/strong&gt; Drupal's &lt;code&gt;/taxonomy/term/NID&lt;/code&gt; and friendly alias paths need redirects to the equivalent WordPress archive pages.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Custom taxonomy templates.&lt;/strong&gt; If your Drupal taxonomy pages have custom layouts or additional content, you may need custom WordPress archive templates to replicate them.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;What Gets Preserved Automatically&lt;/h2&gt;

&lt;p&gt;Not everything requires special handling. Several SEO elements transfer naturally because they're embedded in your content:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Heading structure.&lt;/strong&gt; H1, H2, H3 tags within your content body come across as-is.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Image filenames and alt text.&lt;/strong&gt; These are stored within the content HTML and transfer with the content.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Internal link structure.&lt;/strong&gt; Links within content bodies migrate with the text, though the target URLs may need updating to match the new structure.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Content freshness signals.&lt;/strong&gt; Publication dates can be preserved during migration, maintaining your content's age signals.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Common SEO Pitfalls&lt;/h2&gt;

&lt;p&gt;These are the issues I see most often in migrations that weren't properly planned:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Forgetting the "Discourage search engines" checkbox.&lt;/strong&gt; WordPress has a setting under Settings &amp;gt; Reading that tells search engines not to index the site. It's often enabled during development and forgotten at launch. One checkbox can undo all your SEO work.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Changing permalink structure after launch.&lt;/strong&gt; Pick your WordPress permalink structure before migration and don't change it afterwards. Every change invalidates your redirect map.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ignoring pagination.&lt;/strong&gt; If your Drupal site has paginated listing pages that are indexed, those &lt;code&gt;?page=2&lt;/code&gt; URLs need handling too.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Skipping the XML sitemap.&lt;/strong&gt; Submit a new sitemap to Google Search Console immediately after launch. This accelerates re-crawling and helps Google discover your new URL structure.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Not monitoring post-launch.&lt;/strong&gt; The first 4-6 weeks after migration are critical. Monitor Google Search Console for crawl errors, indexing drops, and 404 spikes. Address issues immediately. Delays compound the damage.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;When to Invest in SEO Preservation&lt;/h2&gt;

&lt;p&gt;The level of SEO work depends on your site's organic traffic value. A brochure site with minimal search traffic needs basic redirect mapping and not much more. A content-heavy site with thousands of indexed pages and significant organic traffic justifies a thorough audit, complete redirect map, and post-launch monitoring programme.&lt;/p&gt;

&lt;p&gt;I assess this during the initial content audit and provide a recommendation based on your site's actual traffic profile. There's no point over-investing in SEO preservation for pages that don't drive business value, and equally, no point cutting corners on pages that do.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Related reading:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-7-end-of-life-migration-options/"&gt;Drupal 7 End of Life: Your Migration Options in 2026&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-prepare-drupal-wordpress-migration/"&gt;How to Prepare for Your Drupal to WordPress Migration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/content-migration-process/"&gt;How the migration process works&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;section class="breakout-white"&gt;
&lt;div class="breakout-inner text-center"&gt;

&lt;h2&gt;Concerned About Losing Your Search Rankings?&lt;/h2&gt;

&lt;p&gt;I build SEO preservation into every migration: URL mapping, 301 redirects, metadata transfer, and post-launch monitoring. Get a free consultation to discuss your site's SEO requirements.&lt;/p&gt;

&lt;div class="button-container" style="margin:2em 0;"&gt;
&lt;a class="cta-button" href="https://migratecontent.com/contact/" title="Get a quote for your SEO-safe migration"&gt;Get a Free Quote&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;/section&gt;</description><category>drupal</category><category>migration</category><category>redirects</category><category>seo</category><category>wordpress</category><guid>https://migratecontent.com/preserving-seo-drupal-wordpress-migration/</guid><pubDate>Tue, 04 Nov 2025 09:00:00 GMT</pubDate></item><item><title>Drupal 7 End of Life: Your Migration Options in 2025</title><link>https://migratecontent.com/drupal-7-end-of-life-migration-options/</link><dc:creator>Aiden</dc:creator><description>&lt;p class="intro"&gt;Drupal 7 officially reached end of life on 5 January 2025, yet hundreds of thousands of websites are still running on the platform. If yours is one of them, you're now operating without security updates from the Drupal community. Here's what that means and what your realistic options are in 2025.&lt;/p&gt;

&lt;h2&gt;What Drupal 7 End of Life Actually Means&lt;/h2&gt;

&lt;p&gt;End of life means the Drupal Security Team no longer provides security advisories or patches for Drupal 7. This doesn't mean your site will immediately stop working. It means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;No security patches.&lt;/strong&gt; New vulnerabilities won't be fixed by the community. Your site becomes increasingly exposed over time.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No module updates.&lt;/strong&gt; Contributed modules (Views, Webform, Commerce, etc.) are no longer maintained for D7.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hosting pressure.&lt;/strong&gt; Many managed hosting providers are phasing out Drupal 7 support or adding surcharges.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Compliance risk.&lt;/strong&gt; For sites handling personal data, running unsupported software may put you offside with GDPR, PCI-DSS, or industry-specific regulations.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Three Realistic Options in 2025&lt;/h2&gt;

&lt;p&gt;The right path depends on your organisation's technical resources, budget, and long-term platform needs. However, all three options require action. Staying put is not a strategy.&lt;/p&gt;

&lt;h3&gt;Option 1: Extended Support (Short-Term Fix)&lt;/h3&gt;

&lt;p&gt;Several vendors offer paid extended support for Drupal 7, providing security patches beyond the official EOL date. This buys you time but doesn't solve the underlying problem.&lt;/p&gt;

&lt;p&gt;Extended support makes sense if you need 6-12 months to plan a proper migration, your site is low-risk (no e-commerce, no sensitive data), and budget constraints prevent moving immediately. It doesn't make sense if you're running Drupal Commerce (increasingly fragile on D7), handling sensitive user data, or you've already been on extended support for a year and the window is closing.&lt;/p&gt;

&lt;h3&gt;Option 2: Upgrade to Drupal 10/11&lt;/h3&gt;

&lt;p&gt;Drupal 10 and 11 are the current supported versions. However, upgrading from Drupal 7 is not a simple version bump. It's effectively a complete rebuild. Drupal 7 and Drupal 10 have fundamentally different architectures, templating systems, and content management approaches. This is a critical point that catches many organisations off guard.&lt;/p&gt;

&lt;p&gt;The work involved is substantial: a complete theme rebuild (PHPTemplate to Twig), module replacements (many D7 modules have no D10 equivalent), content migration using Drupal's Migrate API, and a custom code rewrite for any bespoke functionality.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When this makes sense:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Your team has strong Drupal expertise and wants to stay on the platform&lt;/li&gt;
&lt;li&gt;You have Drupal-specific functionality that's hard to replicate elsewhere&lt;/li&gt;
&lt;li&gt;Your organisation has invested heavily in Drupal training and workflows&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;Option 3: Migrate to WordPress&lt;/h3&gt;

&lt;p&gt;For many organisations, Drupal 7's end of life is the catalyst to move to WordPress. This is where the "it's a rebuild either way" reality becomes an opportunity. Since a D7-to-D10 upgrade requires complete theme reconstruction, module replacement, and content migration (the same work involved in moving to WordPress), it's worth evaluating whether a different platform better fits your needs going forward.&lt;/p&gt;

&lt;p&gt;WordPress powers approximately 43% of all websites globally. That scale translates into practical advantages:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why organisations choose WordPress:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Lower ongoing costs.&lt;/strong&gt; Industry comparisons consistently show WordPress annual maintenance costs running lower than equivalent Drupal setups, primarily due to a larger developer talent pool and more affordable hosting options.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Easier content management.&lt;/strong&gt; WordPress's block editor is more intuitive for non-technical content teams. Your marketing people can publish without developer involvement.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;E-commerce ready.&lt;/strong&gt; WooCommerce is mature and well-supported, with a vast plugin ecosystem.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Faster time to market.&lt;/strong&gt; WordPress development is typically faster than equivalent Drupal work.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That said, WordPress isn't a drop-in replacement. Several areas need careful handling:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What you need to consider:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Custom content types.&lt;/strong&gt; Drupal's content type system is more flexible out of the box. WordPress handles this through plugins (ACF, Pods) or custom post types, but it requires planning.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Complex permissions.&lt;/strong&gt; If your site uses Drupal's granular permission system extensively, this needs careful mapping to WordPress roles and capabilities.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;E-commerce data.&lt;/strong&gt; Migrating from Drupal Commerce to WooCommerce requires specialist handling to preserve products, orders, customer accounts, and reviews.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SEO preservation.&lt;/strong&gt; URL structures differ between platforms. Proper 301 redirect mapping is essential to protect your search rankings.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;What a Professional Migration Looks Like&lt;/h2&gt;

&lt;p&gt;Regardless of which platform you move to, a complex migration follows a predictable process. For most projects, this typically involves six stages:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Content audit:&lt;/strong&gt; inventory every content type, field, taxonomy, and relationship&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Architecture mapping:&lt;/strong&gt; design the equivalent structure on the new platform&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Custom scripting:&lt;/strong&gt; write migration scripts tailored to your content structure&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Iterative testing:&lt;/strong&gt; run 5-20 test migrations to catch edge cases&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SEO mapping:&lt;/strong&gt; map old URLs to new, set up 301 redirects&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zero-downtime launch:&lt;/strong&gt; staged migration with DNS cutover for business-critical sites&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This process typically takes 4-12 weeks depending on complexity. Automated migration tools can handle basic content, but the specifics of a real Drupal 7 site (custom content types, complex field relationships, bespoke functionality) all require custom scripting.&lt;/p&gt;

&lt;h2&gt;The Cost of Waiting&lt;/h2&gt;

&lt;p&gt;Every month on unsupported Drupal 7 increases your risk. New vulnerabilities won't be patched, and as browsers, PHP versions, and third-party services evolve, compatibility issues will compound.&lt;/p&gt;

&lt;p&gt;I've worked on D7 sites where a single contributed module stored data across 15 custom database tables, structures that no automated tool even recognises. The longer those sites run without maintenance, the harder they are to unpick. Meanwhile, managed hosting providers are phasing out Drupal 7 support or adding surcharges for legacy environments.&lt;/p&gt;

&lt;p&gt;The migration itself doesn't get cheaper by waiting either. Developer availability tightens as the remaining Drupal 7 talent pool moves on, and the growing technical debt (outdated modules, unpatched core, ageing server dependencies) makes the eventual migration more complex and more expensive.&lt;/p&gt;

&lt;p&gt;If you're still on Drupal 7 in 2025, the time to act is now. Whether you choose Drupal 10 or WordPress, a well-planned migration protects your content, your SEO rankings, and your business.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Related reading:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-prepare-drupal-wordpress-migration/"&gt;How to Prepare for Your Drupal to WordPress Migration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/preserving-seo-drupal-wordpress-migration/"&gt;Preserving Your SEO During a Drupal to WordPress Migration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/migrating-drupal-commerce-to-woocommerce/"&gt;Migrating Drupal Commerce to WooCommerce: What You Need to Know&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/content-migration-process/"&gt;How the migration process works&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;section class="breakout-white"&gt;
&lt;div class="breakout-inner text-center"&gt;

&lt;h2&gt;Need Help With Your Drupal 7 Migration?&lt;/h2&gt;

&lt;p&gt;I specialise in complex Drupal to WordPress migrations, including e-commerce, custom content types, and business-critical sites that need zero-downtime launches. Get a free, no-obligation consultation to discuss your options.&lt;/p&gt;

&lt;div class="button-container" style="margin:2em 0;"&gt;
&lt;a class="cta-button" href="https://migratecontent.com/contact/" title="Get a quote for your Drupal 7 migration"&gt;Get a Free Quote&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;/section&gt;</description><category>drupal</category><category>drupal-7</category><category>migration</category><category>wordpress</category><guid>https://migratecontent.com/drupal-7-end-of-life-migration-options/</guid><pubDate>Wed, 05 Feb 2025 09:00:00 GMT</pubDate></item><item><title>Drupal 7 End of Life: Why WordPress is the Best Migration Option for Lower Maintenance Sites</title><link>https://migratecontent.com/drupal-7-end-of-life-why-wordpress-is-the-best-migration-option/</link><dc:creator>Aiden</dc:creator><description>&lt;figure&gt;&lt;img src="https://migratecontent.com/images/posts/drupal-7-end-of-life-why-wordpress-is-the-best-migration-option-og-1200x630.jpg"&gt;&lt;/figure&gt; &lt;p&gt;&lt;strong&gt;Drupal 7 will reach end-of-life in January 2025. Learn why migrating to WordPress makes sense for small businesses, agencies, and anyone looking for an affordable, flexible CMS solution.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Drupal 7 is reaching the end-of-life (EOL) on 5th January 2025. This means official support will stop, leaving &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#webinar-key-statistics"&gt;around 180,000 websites&lt;/a&gt; vulnerable to security risks, compatibility issues, and rising maintenance costs. If your site is still running on Drupal 7, it's time to make a decision.&lt;/p&gt;
&lt;p&gt;For many, upgrading to the latest version might seem like the logical next step. Currently Drupal 11, which was released in July 2024, the move from Drupal 7 isn't a simple update but rather, it will require a complete rebuild. For smaller teams, freelancers, or businesses, this can mean significant time, money, and stress.&lt;/p&gt;
&lt;p&gt;Drupal is well-suited for large, complex websites that require advanced functionality. This includes enterprise-level businesses, government portals, higher education institutions, and NGOs. That said, Drupal's steep learning curve and resource-intensive nature make it less suitable for small businesses or individuals who need a simple, low-maintenance website.&lt;/p&gt;
&lt;p&gt;This is where WordPress comes in. With its lower costs, ease of use, and massive community support, WordPress has become the go-to CMS for businesses who need a better balance of simplicity and functionality. Whether you're running a small agency, freelancing, or managing your own business site, WordPress offers a practical, future-proof solution.&lt;/p&gt;
&lt;h2 id="final-deadline-announced-after-multiple-extensions"&gt;Final Deadline Announced After Multiple Extensions&lt;/h2&gt;
&lt;p&gt;The Drupal Association has announced several end-of-life dates for Drupal 7 over the years:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://www.drupal.org/blog/drupal-7-8-and-9" target="_blank" rel="noopener noreferrer"&gt;Initially planned for November 2021&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.drupal.org/psa-2020-06-24" target="_blank" rel="noopener noreferrer"&gt;Extended to November 2022&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.drupal.org/psa-2022-02-23" target="_blank" rel="noopener noreferrer"&gt;Further extended to November 2023&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.drupal.org/psa-2023-06-07" target="_blank" rel="noopener noreferrer"&gt;Final extension to January 5, 2025&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The latest and final EOL date for Drupal 7 is January 5, 2025, was made to give organizations more time to migrate their websites to newer versions of Drupal or other platforms.&lt;/p&gt;
&lt;h2 id="what-happens-if-you-stay-on-drupal-7"&gt;What Happens If You Stay on Drupal 7?&lt;/h2&gt;
&lt;p&gt;It should go without saying that sticking with Drupal 7 after its End of Life isn't a viable long-term option because it will no longer receive official updates, security patches, or technical support.&lt;/p&gt;
&lt;p&gt;This leaves site owners and maintainers with a range of headaches:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Security Risks&lt;/strong&gt;: Without updates or security patches, your site becomes a prime target for hackers.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Compatibility Issues&lt;/strong&gt;: Over time, browsers, APIs, and third-party tools will evolve, leaving your site unable to keep up. Things will start breaking—slowly at first, then all at once.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Rising Costs&lt;/strong&gt;: Developers who still work with Drupal 7 are becoming harder to find, and their rates reflect that scarcity. Maintaining an outdated platform will only get more expensive.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you're still on Drupal 7, the clock is ticking. It's time to start planning your next move.&lt;/p&gt;
&lt;h2 id="why-choose-wordpress-over-upgrading-drupal"&gt;Why Choose WordPress Over Upgrading Drupal?&lt;/h2&gt;
&lt;p&gt;WordPress has grown into the most widely used CMS in the world, &lt;a href="https://www.hostinger.co.uk/tutorials/wordpress-statistics" target="_blank" rel="noopener noreferrer"&gt;powering around 43%&lt;/a&gt; of websites and &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#webinar-key-statistics"&gt;229,000 of the top 1 million sites by traffic&lt;/a&gt;. Popularity isn't the only reason to choose WordPress though.&lt;/p&gt;
&lt;p&gt;For starters, it's easier to use because WordPress's intuitive interface means you don't need a developer for every little update. Your team can manage content, make changes, and even build pages without technical expertise.&lt;/p&gt;
&lt;p&gt;It's also more affordable. While both Drupal and WordPress are open-source, WordPress generally offers a better return on investment with &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#cost-considerations"&gt;lower build and maintenance costs&lt;/a&gt;. Drupal's complexity leads to higher development expenses and more costly, time-intensive updates.&lt;/p&gt;
&lt;p&gt;And then there's WordPress' massive global user base, which means there's no shortage of resources, tutorials, and developers. If you need help, it's easy to find.&lt;/p&gt;
&lt;h2 id="is-it-worth-upgrading-drupal"&gt;Is it Worth Upgrading Drupal?&lt;/h2&gt;
&lt;p&gt;Upgrading to Drupal 11 is an option, but it's not a simple one. Architecturally, the jump from Drupal 7 to 11 is massive. The two versions are so different that you're essentially rebuilding your site from scratch.&lt;/p&gt;
&lt;p&gt;For some organisations, that's fine. Nevertheless, if you're running a complex site with custom features that rely on Drupal's architecture, it might even be necessary. In fact, Drupal is often overkill for smaller businesses or agencies.&lt;/p&gt;
&lt;p&gt;Futhermore, Drupal has gravitated towards enterprise-level projects over the past few years so if you don't need that complexity, WordPress is a more practical, cost-effective choice.&lt;/p&gt;
&lt;h2 id="real-world-success-stories"&gt;Real-World Success Stories&lt;/h2&gt;
&lt;p&gt;During a recent &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/"&gt;WP Engine webinar&lt;/a&gt;, Emily Averill, Digital Marketing Director at Daniels Health, shared their reasons for migrating from Drupal 7 to WordPress:&lt;/p&gt;
&lt;blockquote class="blockquote red p-0"&gt;
    &lt;p&gt;&lt;em&gt;"The [Drupal] website wasn't a place that our team could work confidently or with pace or agility. It was a friction point, and so we wanted a platform that could grow with us as an organization...Yes, it was going to be a hard migration. But in order to achieve the outcome, the future state we really wanted, it was going to be worth it...Replatforming for us in reality has been easier than migrating from Drupal 7 to 10."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is a common theme among businesses that have made the switch. WordPress's user-friendly interface and flexibility make it a better fit for teams that need to move quickly and efficiently.&lt;/p&gt;
&lt;h2 id="the-migration-process"&gt;The Migration Process&lt;/h2&gt;
&lt;p&gt;Migrating a site can feel overwhelming, especially if you've been on the same platform for years. Here's how I handle the process.&lt;/p&gt;
&lt;h3 id="the-process"&gt;The Process:&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Project Discovery&lt;/strong&gt;: I analyse your requirements and site's content, custom features, user roles, and integrations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Migration Planning&lt;/strong&gt;: I determine what needs to be migrated, what can be replaced with WordPress plugins, and what might need to be rebuilt.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Custom Solutions&lt;/strong&gt;: If WordPress doesn't have an out-of-the-box solution for something, I'll build it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Optimisation&lt;/strong&gt;: Once the migration is complete, I optimise your new site for performance, security, and scalability.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Training&lt;/strong&gt;: I provide training so your team knows how to manage the new site.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;By the time I'm finished, you'll have a site that's ready for the future.&lt;/p&gt;
&lt;h2 id="why-wordpress-is-the-smarter-choice-today"&gt;Why WordPress is the Smarter Choice Today&lt;/h2&gt;
&lt;p&gt;Continuing to build on outdated Drupal software not only increases complexity but also creates significant technology debt, making future development more costly and inefficient.&lt;/p&gt;
&lt;p&gt;As Scott Jones from Illustrate Digital explains in the WP Engine webinar, continuing on Drupal often means that new features and functionality are being developed on old underlying software and frameworks, which can hinder growth and innovation.&lt;/p&gt;
&lt;p&gt;In contrast, WordPress offers a modern, intuitive interface that empowers marketing teams to take control of content publishing without relying heavily on developers. Webinar panelist PeterJohn from Useful Group highlights that WordPress is more marketer focused, while also evolving its developer tools to rival or surpass Drupal.&lt;/p&gt;
&lt;p&gt;By migrating to WordPress, businesses can reduce costs, streamline workflows, and future-proof their digital presence.&lt;/p&gt;
&lt;h2 id="lets-talk"&gt;Let's Talk&lt;/h2&gt;
&lt;p&gt;If you're still running Drupal 7, it's time to make a move. Whether you're ready to migrate or just exploring your options, I'm here to help.&lt;/p&gt;
&lt;div class="alert alert-info text-center"&gt;
  &lt;h4 style="font-size:1.5em"&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-service/" title="Drupal to WordPress migration"&gt;Drupal to WordPress migration service&lt;/a&gt;&lt;/h4&gt;
  &lt;p&gt;&lt;strong&gt;Any Drupal version · All content · Custom content types · SEO · Plugins&lt;/strong&gt;&lt;/p&gt;
  &lt;p&gt;Get in touch today for a free quote. Let's figure out the best path forward for your site—and your business.&lt;/p&gt;

  &lt;button class="cta-button"&gt;
      &lt;a href="https://migratecontent.com/contact/" title="Contact me to inquire about my Drupal to WordPress migration service"&gt;Get a quote&lt;/a&gt;
  &lt;/button&gt;

&lt;/div&gt;

&lt;section class="mt-4 pt-4"&gt;
    &lt;h3 class="text-center pb-4"&gt;Drupal 7 End of Life Frequently Asked Questions&lt;/h3&gt;

    &lt;p&gt;These FAQs are drawn from the real-world experience of the &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/"&gt;WP Engine webinar&lt;/a&gt; panelists.&lt;/p&gt;
    &lt;div class="container border bg-light p-4"&gt;
        &lt;details&gt;
            &lt;summary&gt;Why are organizations moving away from Drupal?&lt;/summary&gt;
            &lt;p&gt;Several factors contribute to the shift away from Drupal, particularly Drupal 7, which reaches its end of life in January 2025. These include:&lt;/p&gt;
            &lt;ul&gt;
              &lt;li&gt;End of life for older versions: This necessitates full rebuilds, leading to significant effort and cost.&lt;/li&gt;
              &lt;li&gt;Technological debt: Building new features on outdated software creates challenges and limits agility.&lt;/li&gt;
              &lt;li&gt;Shifting decision-making: Marketing teams, who are most impacted by the CMS choice, now have a greater say, leading to a preference for more user-friendly platforms.&lt;/li&gt;
              &lt;li&gt;Rise of alternative platforms: Modern platforms like Next.js and WordPress offer attractive features and benefits.&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/details&gt;
        &lt;details&gt;
            &lt;summary&gt;What are the advantages of WordPress for marketing teams?&lt;/summary&gt;
            &lt;p&gt;WordPress offers several benefits that make it particularly appealing to marketers:&lt;/p&gt;
            &lt;ul&gt;
              &lt;li&gt;Intuitive content management: WordPress's user-friendly interface and familiar structure make it easy to learn and use, even for junior team members.&lt;/li&gt;
              &lt;li&gt;Ease of content publishing: The block-based editor and intuitive design streamline content creation and editing.&lt;/li&gt;
              &lt;li&gt;Extensive plugin ecosystem: A vast library of plugins provides seamless integration with marketing tools and services, expanding functionality without custom development.&lt;/li&gt;
              &lt;li&gt;Flexibility and agility: WordPress allows for quick site deployment and iterative improvements, enabling rapid responses to market changes and opportunities.&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/details&gt;
        &lt;details&gt;
            &lt;summary&gt;How does WordPress benefit technical teams?&lt;/summary&gt;
            &lt;p&gt;Beyond its marketing advantages, WordPress also offers benefits for developers:&lt;/p&gt;
            &lt;ul&gt;
              &lt;li&gt;
                &lt;strong&gt;Gentle learning curve:&lt;/strong&gt; The platform is relatively easy to learn, reducing the training burden and enabling faster onboarding of new team members.
              &lt;/li&gt;
              &lt;li&gt;
                &lt;strong&gt;Strong community support:&lt;/strong&gt; A large and active community provides ample resources, documentation, and support for troubleshooting and development.
              &lt;/li&gt;
              &lt;li&gt;
                &lt;strong&gt;Wide choice and flexibility:&lt;/strong&gt; WordPress offers a vast selection of themes, plugins, and development tools, allowing for customized solutions and integrations.
              &lt;/li&gt;
              &lt;li&gt;
                &lt;strong&gt;Scalability and adaptability:&lt;/strong&gt; WordPress can scale to accommodate large and complex websites, and its open-source nature allows for customization to meet specific needs.
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/details&gt;

&lt;details&gt;
  &lt;summary&gt;What happens to my Drupal 7 website after January 2025?&lt;/summary&gt;
  &lt;ul&gt;
    &lt;li&gt;
      &lt;strong&gt;No more updates:&lt;/strong&gt; Drupal will cease releasing feature developments and security updates for Drupal 7.
    &lt;/li&gt;
    &lt;li&gt;
      &lt;strong&gt;Increased security risks:&lt;/strong&gt; Without ongoing security patches, your website becomes vulnerable to exploits and attacks.
    &lt;/li&gt;
    &lt;li&gt;
      &lt;strong&gt;Limited functionality:&lt;/strong&gt; You will no longer receive updates for modules and themes, potentially impacting website performance and functionality.
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/details&gt;

&lt;details&gt;
  &lt;summary&gt;How do I address security concerns about WordPress?&lt;/summary&gt;
  &lt;ul&gt;
    &lt;li&gt;
      &lt;strong&gt;Present data and evidence:&lt;/strong&gt; Share data on WordPress's adoption rate, security infrastructure, and the expertise of partners like WP Engine and specialised agencies.
    &lt;/li&gt;
    &lt;li&gt;
      &lt;strong&gt;Engage IT and security teams:&lt;/strong&gt; Involve them early in the decision-making process, address their concerns directly, and demonstrate how WordPress meets security standards.
    &lt;/li&gt;
    &lt;li&gt;
      &lt;strong&gt;Emphasise hosting and infrastructure:&lt;/strong&gt; Highlight the role of managed WordPress hosting providers like WP Engine in ensuring security, performance, and reliability.
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/details&gt;

&lt;details&gt;
  &lt;summary&gt;Is it easier to upgrade to the latest Drupal version or migrate to WordPress?&lt;/summary&gt;
  &lt;ul&gt;
    &lt;li&gt;
      Upgrading to the latest Drupal version might seem simpler, but it can involve substantial effort due to significant code changes and underlying technology changes.
    &lt;/li&gt;
    &lt;li&gt;
      Migration complexity can be high regardless of whether you upgrade within Drupal or migrate to a different platform, especially with large amounts of content.
    &lt;/li&gt;
    &lt;li&gt;
      WordPress's iterative approach offers more frequent and gradual updates, minimising disruption and making it easier to maintain the site over time.
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/details&gt;

&lt;details&gt;
  &lt;summary&gt;How is content migrated from Drupal to WordPress?&lt;/summary&gt;
  &lt;ol&gt;
    &lt;li&gt;
      &lt;strong&gt;Content evaluation:&lt;/strong&gt; Assess the existing content, identify what needs to be migrated, and determine if any cleansing or restructuring is required.
    &lt;/li&gt;
    &lt;li&gt;
      &lt;strong&gt;Data export:&lt;/strong&gt; Export content from Drupal using tools like the Views Export module to create structured data files.
    &lt;/li&gt;
    &lt;li&gt;
      &lt;strong&gt;Data import:&lt;/strong&gt; Utilise WordPress import plugins like WP All Import to bring the content into the new platform, with potential customisation for complex data structures.
    &lt;/li&gt;
    &lt;li&gt;
      &lt;strong&gt;Testing and validation:&lt;/strong&gt; Thoroughly test the migrated content to ensure accuracy, functionality, and proper display on the new WordPress site.
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/details&gt;

&lt;details&gt;
  &lt;summary&gt;What is a typical timeframe for a Drupal to WordPress migration project?&lt;/summary&gt;
  &lt;ul&gt;
    &lt;li&gt;
      &lt;strong&gt;Content migration:&lt;/strong&gt; Typically takes around 4 weeks, depending on the volume and complexity of the content.
    &lt;/li&gt;
    &lt;li&gt;
      &lt;strong&gt;Full website rebuild:&lt;/strong&gt; Including design, development, and content migration, can range from 5 to 12 months, depending on the scope and complexity of the project.
    &lt;/li&gt;
    &lt;li&gt;
      &lt;strong&gt;Global multi-site projects:&lt;/strong&gt; As in Emily's case, can take up to 48 weeks, encompassing research and development, design, build, testing, and launch phases.
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/details&gt;



    &lt;/div&gt;
&lt;/section&gt;

&lt;div class="mt-4 pt-4 text-muted small border-top"&gt;
    &lt;h3 class="text-muted small"&gt;Footnotes&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;Featured image photo by &lt;a href="https://unsplash.com/@nimbus_vulpis?utm_content=creditCopyText&amp;amp;utm_medium=referral&amp;amp;utm_source=unsplash" target="_blank" rel="noopener noreferrer"&gt;Rafael Garcin&lt;/a&gt;.
        &lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;</description><category>drupal</category><category>end of life</category><category>migration</category><category>wordpress</category><guid>https://migratecontent.com/drupal-7-end-of-life-why-wordpress-is-the-best-migration-option/</guid><pubDate>Tue, 17 Dec 2024 14:25:15 GMT</pubDate></item><item><title>The Benefits of migrating from Drupal to WordPress: Key Insights from WP Engine's Latest Webinar</title><link>https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/</link><dc:creator>Aiden</dc:creator><description>&lt;figure&gt;&lt;img src="https://migratecontent.com/images/drupal-to-wordpress-migration-2024-key-insights-wp-engine-og-1200x630.jpg"&gt;&lt;/figure&gt; &lt;p&gt;Last August 2023, the &lt;a href="https://www.drupal.org/association/blog/drupal-7-end-of-life-officially-announced-for-5-january-2025" target="_blank" rel="noopener noreferrer"&gt;Drupal Association announced&lt;/a&gt; the date of 5th January 2025 as Drupal 7's offical End of Life. This means that while individual developers can continue to maintain their sites and modules, Drupal 7 core will no longer receive official support, updates, or maintenance. Site owners, developers and agencies have been assessing their options: do they upgrade to Drupal 8 or find an alternative platform? Neither decision is easy.&lt;/p&gt;
&lt;p&gt;WP Engine recently hosted a webinar offering insights from a panel of experts, revealing why enterprises are choosing WordPress over Drupal in 2024. In this post, Aiden summarises the key points and statistics from the session.&lt;/p&gt;
&lt;h2 id="table-of-contents"&gt;Table of Contents&lt;/h2&gt;
&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#table-of-contents"&gt;Table of Contents&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#watch-the-webinar"&gt;Watch the Webinar&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#speakers"&gt;Speakers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#the-current-cms-landscape"&gt;The Current CMS Landscape&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#drupals-declining-position"&gt;Drupal's Declining Position&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#wordpresss-market-dominance"&gt;WordPress's Market Dominance&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#key-migration-drivers"&gt;Key Migration Drivers&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#ease-of-use-and-training"&gt;Ease of Use and Training&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#cost-considerations"&gt;Cost Considerations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#technical-flexibility"&gt;Technical Flexibility&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#practical-migration-considerations"&gt;Practical Migration Considerations&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#pre-migration-planning"&gt;Pre-Migration Planning&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#stakeholder-engagement"&gt;Stakeholder Engagement&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#security-and-maintenance"&gt;Security and Maintenance&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#security-protocols"&gt;Security Protocols&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#ongoing-maintenance"&gt;Ongoing Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#real-world-success-story"&gt;Real-World Success Story&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#conclusion"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#appendix-key-statistics-from-the-webinar"&gt;Appendix: Key Statistics from the Webinar&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#1-the-current-cms-landscape"&gt;1. The Current CMS Landscape&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#drupals-market-position"&gt;Drupal's Market Position&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#wordpresss-dominance"&gt;WordPress's Dominance&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#2-critical-timeline-considerations"&gt;2. Critical Timeline Considerations&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#version-support-deadlines"&gt;Version Support Deadlines&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#migration-timeframes"&gt;Migration Timeframes&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#3-technical-migration-considerations"&gt;3. Technical Migration Considerations&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#platform-differences"&gt;Platform Differences&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#wordpress-migration-benefits"&gt;WordPress Migration Benefits&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#4-security-and-maintenance"&gt;4. Security and Maintenance&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/#end-of-life-impact"&gt;End-of-Life Impact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id="watch-the-webinar"&gt;Watch the Webinar&lt;/h2&gt;
&lt;iframe class="youtube-video" src="https://www.youtube.com/embed/DwxuUJXhfIo?si=3GsOwgN_ZNBAFsmh" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen&gt;&lt;/iframe&gt;

&lt;h2 id="speakers"&gt;Speakers&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Scott Jones, CEO, Illustrate Digital&lt;/li&gt;
&lt;li&gt;Chandan Sharma, Web Development Manager, Bluetext&lt;/li&gt;
&lt;li&gt;PeterJohn Hunt, CTO at Useful Group&lt;/li&gt;
&lt;li&gt;Emily Averill, Digital Marketing Director at Daniels Health&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="the-current-cms-landscape"&gt;The Current CMS Landscape&lt;/h2&gt;
&lt;h3 id="drupals-declining-position"&gt;Drupal's Declining Position&lt;/h3&gt;
&lt;p&gt;According to Scott Jones's presentation, Drupal has experienced a notable decline in usage since 2021, particularly among enterprise brands. A critical factor driving immediate decisions is Drupal 7's impending end-of-life in January 2025, after which security patches and updates will cease.&lt;/p&gt;
&lt;figure class="figure d-flex flex-column align-items-center"&gt;
&lt;img src="https://migratecontent.com/images/posts/WP-Engine-From-Drupal-to-WordPress-webinar-Drupals-overall-decline.jpg" alt="Drupal's overall decline" title="Drupal's overall decline" class="img-fluid" style="max-width: 100%; height: auto;"&gt;
&lt;figcaption class="figure-caption text-center mt-2"&gt;Webinar slide deck: Drupal's overall decline&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;h3 id="wordpresss-market-dominance"&gt;WordPress's Market Dominance&lt;/h3&gt;
&lt;p&gt;The webinar highlighted WordPress's commanding presence among the top 1 million sites by traffic. As PeterJohn noted during the session, "WordPress has done well to really stabilize the amount of changes, and how often those changes are going on... in a way that serves enterprise especially."&lt;/p&gt;
&lt;figure class="figure d-flex flex-column align-items-center"&gt;
&lt;img src="https://migratecontent.com/images/posts/WP-Engine-From-Drupal-to-WordPress-webinar-Recommendation.jpg" alt="Illustrate Digital's recommendation" title="Illustrate Digital's recommendation" class="img-fluid" style="max-width: 100%; height: auto;"&gt;
&lt;figcaption class="figure-caption text-center mt-2"&gt;Webinar slide deck: Illustrate Digital's recommendation&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;h2 id="key-migration-drivers"&gt;Key Migration Drivers&lt;/h2&gt;
&lt;h3 id="ease-of-use-and-training"&gt;Ease of Use and Training&lt;/h3&gt;
&lt;p&gt;Emily Averill's experience at Daniels Health provided a compelling real-world example. She shared that transitioning to WordPress proved more straightforward than upgrading within the Drupal ecosystem, emphasizing improved team productivity post-migration.&lt;/p&gt;
&lt;p&gt;&lt;span id="cost-considerations"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3 id="cost-considerations"&gt;Cost Considerations&lt;/h3&gt;
&lt;p&gt;The panel discussed several financial advantages:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Lower implementation costs compared to Drupal upgrades&lt;/li&gt;
&lt;li&gt;Reduced ongoing maintenance expenses&lt;/li&gt;
&lt;li&gt;Better marketing team ROI through improved efficiency&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="container py-4"&gt;
  &lt;h3 class="mb-4"&gt;Drupal vs WordPress: Total Cost of Ownership&lt;/h3&gt;
  &lt;div class="table-responsive"&gt;
    &lt;table class="table table-striped table-bordered"&gt;
      &lt;thead class="thead-dark"&gt;
        &lt;tr&gt;
          &lt;th scope="col" class="align-middle"&gt;Cost&lt;/th&gt;
          &lt;th scope="col" class="align-middle text-center"&gt;Drupal&lt;/th&gt;
          &lt;th scope="col" class="align-middle text-center"&gt;WordPress&lt;/th&gt;
        &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
        &lt;tr&gt;
          &lt;th scope="row"&gt;License fee&lt;/th&gt;
          &lt;td class="text-center"&gt;
            $0 / year&lt;br&gt;
            &lt;small class="text-muted"&gt;£0 / year&lt;/small&gt;
          &lt;/td&gt;
          &lt;td class="text-center"&gt;
            $0&lt;br&gt;
            &lt;small class="text-muted"&gt;£0&lt;/small&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;th scope="row"&gt;Example build cost&lt;/th&gt;
          &lt;td class="text-center"&gt;
            $165,000 - $250,000&lt;br&gt;
            &lt;small class="text-muted"&gt;£120,000 - £180,000&lt;/small&gt;
          &lt;/td&gt;
          &lt;td class="text-center"&gt;
            $100,000 - $200,000&lt;br&gt;
            &lt;small class="text-muted"&gt;£80,000 - £150,000&lt;/small&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;th scope="row"&gt;Example maintenance cost&lt;/th&gt;
          &lt;td class="text-center"&gt;
            $15,000 / year&lt;br&gt;
            &lt;small class="text-muted"&gt;£11,000 / year&lt;/small&gt;
          &lt;/td&gt;
          &lt;td class="text-center"&gt;
            $11,500 / year&lt;br&gt;
            &lt;small class="text-muted"&gt;£8,400 / year&lt;/small&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;th scope="row"&gt;Example hosting cost&lt;/th&gt;
          &lt;td class="text-center"&gt;
            $5,000 - $10,000 / month&lt;br&gt;
            &lt;small class="text-muted"&gt;£3,500 - £7,000 / month&lt;/small&gt;
          &lt;/td&gt;
          &lt;td class="text-center"&gt;
            $5,000 - $7,000 / month&lt;br&gt;
            &lt;small class="text-muted"&gt;£3,500 - £5,000 / month&lt;/small&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;th scope="row"&gt;Example ongoing development cost&lt;/th&gt;
          &lt;td class="text-center"&gt;
            $1,500 - $2,000+ / month&lt;br&gt;
            &lt;small class="text-muted"&gt;£1,000 - £1,500+ / month&lt;/small&gt;
          &lt;/td&gt;
          &lt;td class="text-center"&gt;
            $1,500 - $2,000+ / month&lt;br&gt;
            &lt;small class="text-muted"&gt;£1,000 - £1,500+ / month&lt;/small&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;h3 id="technical-flexibility"&gt;Technical Flexibility&lt;/h3&gt;
&lt;p&gt;Chandan from Bluetext shared a success story of migrating a complex Drupal site to WordPress within tight deadlines, demonstrating the platform's efficiency and adaptability.&lt;/p&gt;
&lt;h2 id="practical-migration-considerations"&gt;Practical Migration Considerations&lt;/h2&gt;
&lt;h3 id="pre-migration-planning"&gt;Pre-Migration Planning&lt;/h3&gt;
&lt;p&gt;Based on the panelists' recommendations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Conduct thorough site mapping and content architecture evaluation&lt;/li&gt;
&lt;li&gt;Identify critical content for migration&lt;/li&gt;
&lt;li&gt;Plan for both automated and manual content transfer&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="stakeholder-engagement"&gt;Stakeholder Engagement&lt;/h3&gt;
&lt;p&gt;The webinar emphasized involving:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Marketing teams for content strategy&lt;/li&gt;
&lt;li&gt;IT and cybersecurity teams for security protocols&lt;/li&gt;
&lt;li&gt;Development teams for technical implementation&lt;/li&gt;
&lt;li&gt;Content editors for training and workflow adaptation&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="security-and-maintenance"&gt;Security and Maintenance&lt;/h3&gt;
&lt;h4 id="security-protocols"&gt;Security Protocols&lt;/h4&gt;
&lt;p&gt;Key takeaways from the discussion:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Early involvement of cybersecurity teams is crucial&lt;/li&gt;
&lt;li&gt;Address legacy security concerns during migration&lt;/li&gt;
&lt;li&gt;Implement robust security measures from day one&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="ongoing-maintenance"&gt;Ongoing Maintenance&lt;/h3&gt;
&lt;p&gt;The panel highlighted WordPress's advantages:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;More streamlined update processes&lt;/li&gt;
&lt;li&gt;Focus on quality over quantity with plugins&lt;/li&gt;
&lt;li&gt;Stronger community support for troubleshooting&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="real-world-success-story"&gt;Real-World Success Story&lt;/h2&gt;
&lt;p&gt;The webinar featured Daniels Health's migration journey, where Emily Averill noted: "The culmination of all of that is that it's far easier to do that in the WordPress platform... than it is on the Drupal platform, as was our experience back in the day."&lt;/p&gt;
&lt;h2 id="conclusion"&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;Scott Jones's statement perfectly encapsulates the webinar's message: "WordPress is still the best CMS. It's still trending up, and until it gets really credible competition with something else that's got really high usage, he'll continue to recommend it for both small businesses and enterprises alike."&lt;/p&gt;
&lt;p&gt;Considering a migration? &lt;a href="https://migratecontent.com/contact/"&gt;Get in touch&lt;/a&gt; for a free assessment. For additional insights, check out the &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-guide/"&gt;Drupal to WordPress Migration Guide&lt;/a&gt;.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;span id="webinar-key-statistics"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="appendix-key-statistics-from-the-webinar"&gt;Appendix: Key Statistics from the Webinar&lt;/h2&gt;
&lt;h3 id="1-the-current-cms-landscape"&gt;1. The Current CMS Landscape&lt;/h3&gt;
&lt;h4 id="drupals-market-position"&gt;Drupal's Market Position&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Approximately 180,000 websites still running on Drupal 7&lt;/li&gt;
&lt;li&gt;Drupal 10 has only 75,000 installations currently&lt;/li&gt;
&lt;li&gt;Drupal 11 (released in August) has approximately 1,300 installations&lt;/li&gt;
&lt;li&gt;Showing significant decline since 2013, with accelerated decline since 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="wordpresss-dominance"&gt;WordPress's Dominance&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Powers 229,000 of the top 1 million sites by traffic&lt;/li&gt;
&lt;li&gt;Controls approximately 41% of all content-managed websites&lt;/li&gt;
&lt;li&gt;Powers 34 million websites across the entire internet&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="2-critical-timeline-considerations"&gt;2. Critical Timeline Considerations&lt;/h3&gt;
&lt;h4 id="version-support-deadlines"&gt;Version Support Deadlines&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Drupal 7 end-of-life: January 2025&lt;/li&gt;
&lt;li&gt;Drupal 10's end-of-life: Already set for 2026&lt;/li&gt;
&lt;li&gt;Versions 8 and 9 still haven't been as popular as  Version 7&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="migration-timeframes"&gt;Migration Timeframes&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Average content migration timeline: 4 weeks&lt;/li&gt;
&lt;li&gt;Full project timeline example (Daniels Health): 48 weeks including R&amp;amp;D process&lt;/li&gt;
&lt;li&gt;Complete website rebuilds with new design: 5-12 months&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="3-technical-migration-considerations"&gt;3. Technical Migration Considerations&lt;/h3&gt;
&lt;h4 id="platform-differences"&gt;Platform Differences&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Drupal 7 to Drupal 10 migration requires complete theme rebuild&lt;/li&gt;
&lt;li&gt;Significant architectural changes between versions (PHP files to Twig templates)&lt;/li&gt;
&lt;li&gt;Custom modules need complete rewriting for newer Drupal versions&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="wordpress-migration-benefits"&gt;WordPress Migration Benefits&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;More streamlined update processes&lt;/li&gt;
&lt;li&gt;Stronger community support for troubleshooting&lt;/li&gt;
&lt;li&gt;More intuitive content management interface&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="4-security-and-maintenance"&gt;4. Security and Maintenance&lt;/h3&gt;
&lt;h4 id="end-of-life-impact"&gt;End-of-Life Impact&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Sites won't automatically go down after end-of-life&lt;/li&gt;
&lt;li&gt;Security updates and patches will cease&lt;/li&gt;
&lt;li&gt;Sites become increasingly vulnerable to security risks&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="mt-4 pt-4 text-muted small border-top"&gt;
    &lt;h3 class="text-muted small"&gt;Footnotes&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;Aiden is an AI agent and just like a human, it can make mistakes. This summary is posted for convenience but you can verify the statistics by watching the video in full.&lt;/li&gt;
        &lt;li&gt;Thumbnail photo from the WP Engine &lt;a href="https://wpengine.com/resources/drupal-to-wordpress-webinar/" target="_blank" rel="noopener noreferrer"&gt;Drupal to WordPress Webinar&lt;/a&gt;, 12th November 2024.&lt;/li&gt;
        &lt;li&gt;WP Engine's slide deck for the webinar can be found at &lt;a href="https://hs.wpengine.com/hubfs/Slide%20Deck_241112_AgencyReplatforming-Webinar.pdf" target="_blank" rel="noopener noreferrer"&gt;From Drupal to WordPress: The Benefits of Migrating Your CMS&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;

&lt;hr&gt;

&lt;section class="mt-4 pt-4"&gt;
    &lt;h3&gt;You may also like&lt;/h3&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-md-6 col-lg-4 mb-4"&gt;
          &lt;div class="card h-100"&gt;
              &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-guide/"&gt;
                      &lt;img src="https://migratecontent.com/images/drupal-to-wordpress-migration-utilities-featured.jpg" class="card-img-top" alt="Drupal to WordPress Migration Guide"&gt;&lt;/a&gt;
              &lt;div class="card-body d-flex flex-column"&gt;
                  &lt;h4 class="card-title"&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-guide/" class="listtitle"&gt;Drupal to WordPress Migration Guide&lt;/a&gt;&lt;/h4&gt;
                  &lt;div class="mb-2"&gt;
                      &lt;span&gt;&lt;time class="listdate" datetime="2025-01-03T15:30:30Z" title="Updated for 2025"&gt;Updated for 2025&lt;/time&gt;&lt;/span&gt;
                  &lt;/div&gt;
                  &lt;p class="card-text flex-grow-1"&gt;In this guide, you'll find insights drawn from almost 15 years of specialising in complex Drupal to WordPress migration projects. I'll walk you through the entire migration process, from the initial evaluation to post-launch considerations.&lt;/p&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="col-md-6 col-lg-4 mb-4"&gt;
            &lt;div class="card h-100"&gt;
                &lt;a href="https://migratecontent.com/drupal-7-docker-containers-migration-projects/"&gt;
                        &lt;img src="https://migratecontent.com/images/posts/Drupal-Docker-Containers-card-300-150.jpg" class="card-img-top" alt="How To Set Up Drupal 7 Docker Containers for Migration Projects"&gt;&lt;/a&gt;
                &lt;div class="card-body d-flex flex-column"&gt;
                    &lt;h4 class="card-title"&gt;&lt;a href="https://migratecontent.com/drupal-7-docker-containers-migration-projects/" class="listtitle"&gt;How To Set Up Drupal 7 Docker Containers for Migration Projects&lt;/a&gt;&lt;/h4&gt;
                    &lt;div class="mb-2"&gt;
                        &lt;span&gt;&lt;time class="listdate" datetime="2024-09-09T13:25:15Z" title="09 September 2024"&gt;09 September 2024&lt;/time&gt;&lt;/span&gt;
                    &lt;/div&gt;

                        &lt;p class="card-text flex-grow-1"&gt;Learn how Docker is a valuable tool for Drupal 7 end of life migrations. In this post, I'll give a step-by-step guide to setting up a Drupal 7 container for your migration project.&lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;

&lt;/section&gt;</description><category>drupal</category><category>insights</category><category>migration</category><category>webinar</category><category>wordpress</category><category>wp engine</category><guid>https://migratecontent.com/drupal-to-wordpress-migration-benefits-key-insights-wp-engine/</guid><pubDate>Fri, 22 Nov 2024 15:28:15 GMT</pubDate></item><item><title>How To Set Up Drupal 7 Docker Containers for Migration Projects</title><link>https://migratecontent.com/drupal-7-docker-containers-migration-projects/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>&lt;figure&gt;&lt;img src="https://migratecontent.com/images/posts/Drupal-Docker-Containers-og-1200x630.jpg"&gt;&lt;/figure&gt; &lt;p&gt;&lt;strong&gt;Docker is a valuable tool for Drupal 7 end of life migrations. In this post, I'll give a step-by-step guide to setting up a Drupal 7 container for your migration project. Instructions for the migration itself are out of scope for this article but you will have a running Drupal installation that can be used with a migration tool of your choice.&lt;/strong&gt;&lt;/p&gt;
&lt;section&gt;
    &lt;div class="border bg-light p-4 rounded"&gt;
        &lt;h4 class="text-center"&gt;Table of Contents&lt;/h4&gt;
        &lt;ol class="list-group"&gt;
            &lt;li class="list-group-item d-flex justify-content-between align-items-center"&gt;
                &lt;a href="https://migratecontent.com/drupal-7-docker-containers-migration-projects/#introduction" class="text-decoration-none"&gt;1. Introduction&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class="list-group-item d-flex justify-content-between align-items-center"&gt;
                &lt;a href="https://migratecontent.com/drupal-7-docker-containers-migration-projects/#upgrade-or-migrate" class="text-decoration-none"&gt;2. Upgrade Drupal 7 or Migrate?&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class="list-group-item d-flex justify-content-between align-items-center"&gt;
                &lt;a href="https://migratecontent.com/drupal-7-docker-containers-migration-projects/#setting-up" class="text-decoration-none"&gt;3. Hassles with Setting up the Migration Environment&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class="list-group-item d-flex justify-content-between align-items-center"&gt;
                &lt;a href="https://migratecontent.com/drupal-7-docker-containers-migration-projects/#introduction-to-docker" class="text-decoration-none"&gt;4. An Introduction to Docker&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class="list-group-item d-flex justify-content-between align-items-center"&gt;
                &lt;a href="https://migratecontent.com/drupal-7-docker-containers-migration-projects/#how-to-set-up-docker" class="text-decoration-none"&gt;5. How to Set Up Docker Containers for Drupal 7 Migrations&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class="list-group-item d-flex justify-content-between align-items-center"&gt;
                &lt;a href="https://migratecontent.com/drupal-7-docker-containers-migration-projects/#testing-workflow" class="text-decoration-none"&gt;6. Testing and Workflow&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class="list-group-item d-flex justify-content-between align-items-center"&gt;
                &lt;a href="https://migratecontent.com/drupal-7-docker-containers-migration-projects/#preparing-migration" class="text-decoration-none"&gt;7. Preparing for Your Drupal 7 Migration&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class="list-group-item d-flex justify-content-between align-items-center"&gt;
                &lt;a href="https://migratecontent.com/drupal-7-docker-containers-migration-projects/#conclusion" class="text-decoration-none"&gt;8. Conclusion&lt;/a&gt;
            &lt;/li&gt;
        &lt;/ol&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;p&gt;&lt;span id="introduction"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="1-introduction"&gt;1. Introduction&lt;/h2&gt;
&lt;p&gt;After several deadline extensions, the Drupal Association &lt;a href="https://www.drupal.org/psa-2023-06-07" target="_blank" rel="noopener noreferrer"&gt;has confirmed&lt;/a&gt; that Drupal 7 will officially reach end of life (EOL) on 5 January 2025. For site owners, agencies, and freelancers who've postponed making a decision, the time has come to make a choice. Do you upgrade to a newer version of Drupal, or migrate to an entirely different platform? Neither option is straightforward.&lt;/p&gt;
&lt;p&gt;I sympathise with the &lt;em&gt;"if it ain't broken, don't fix it"&lt;/em&gt; approach to most things, especially for something like a business-critical website. It's hard to justify disrupting a system that's running without any apparent problems. However, a Drupal 7 site migration is now unavoidable. Drupal Core will no longer be supported after EOL and hiring developers to keep it maintained, while a possibility, will not be feasible in the long term.&lt;/p&gt;
&lt;p&gt;&lt;span id="upgrade-or-migrate"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="2-upgrade-drupal-7-or-migrate"&gt;2. Upgrade Drupal 7 or Migrate?&lt;/h2&gt;
&lt;p&gt;It's important to understand that &lt;a href="https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-6-or-drupal-7" target="_blank" rel="noopener noreferrer"&gt;moving from Drupal 7&lt;/a&gt; to a newer version of Drupal isn't a straightforward upgrade. Most Drupal developers already know this but it's worth pointing out early on. Unlike typical software updates, upgrading to Drupal 8 or higher involves a complete rebuild of the site.&lt;/p&gt;
&lt;p&gt;In other words, whether you plan to upgrade or migrate to a different content management platform like WordPress, the work involved is fundamentally going to be a migration project. For this reason, throughout this article, I'll use the terms 'migration' and 'upgrade' interchangeably. Both scenarios involve similar planning, testing, and execution requirements, as well as the need for a temporary development environment.&lt;/p&gt;
&lt;p&gt;&lt;span id="setting-up"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="3-hassles-with-setting-up-the-migration-environment"&gt;3. Hassles with Setting up the Migration Environment&lt;/h2&gt;
&lt;p&gt;Unfortunately, site migrations are notoriously intricate, requiring careful planning and execution. Even getting set up for a migration can feel like an uphill battle. In 2012, when we first started specialising in Drupal to WordPress migrations, local web development involved making sure the whole application stack was configured properly for each project. This meant setting up a virtual host on the development machine web server, as well as getting the database and PHP configurations right. Virtualisation tools like VirtualBox existed, but they often performed poorly, freezing frequently and proving unreliable for sustained work.&lt;/p&gt;
&lt;p&gt;The release of Docker in 2013 introduced a better way to manage development environments. As an open-source containerisation platform, it solved many of the problems developers faced when setting up for new migration projects. By isolating environments within lightweight containers, Docker streamlined workflows and eliminated many of the common compatibility headaches. By around 2018, it had become a standard tool for development teams worldwide, replacing clunky and expensive solutions like virtual machines.&lt;/p&gt;
&lt;p&gt;In this guide, we'll outline how to set up a Docker container tailored for Drupal 7 migrations. We'll also explain how Docker simplifies the migration process while providing the flexibility required for more complex scenarios.&lt;/p&gt;
&lt;p&gt;&lt;span id="introduction-to-docker"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="4-an-introduction-to-docker"&gt;4. An Introduction to Docker&lt;/h2&gt;
&lt;p&gt;I'll start off with some basics for readers who aren't familiar with Docker. Feel free to skip to the &lt;a href="https://migratecontent.com/drupal-7-docker-containers-migration-projects/#how-to-set-up-docker"&gt;setup steps&lt;/a&gt; if you don't need the introduction.&lt;/p&gt;
&lt;h3 id="what-is-docker"&gt;What is Docker?&lt;/h3&gt;
&lt;p&gt;Here's a quick overview if you're unfamiliar with the technology. Docker is a containerisation platform that lets you bundle applications and their dependencies into isolated units called containers. You can think of a container as a self-contained environment where everything your project needs, such as applications, libraries, and other dependencies, are bundled together. This approach ensures that the software runs consistently, regardless of the underlying system.&lt;/p&gt;
&lt;p&gt;Unlike the old virtual machines, which emulate an entire operating system, Docker containers share the host system's kernel. This makes them lightweight, fast, and resource-efficient. Portability is central to Docker's appeal. A container built on a developer's laptop will work the same way on a production server. Combined with tools like Docker Compose, which orchestrates multi-container setups, you can recreate entire environments with just a few commands.&lt;/p&gt;
&lt;h3 id="why-use-docker-for-migrations"&gt;Why Use Docker for Migrations&lt;/h3&gt;
&lt;p&gt;Setting up a migration project used to require a huge amount of effort, especially for a Drupal 7 to WordPress conversion. It was a nightmare juggling multiple client projects on a single development machine. You would need to set up Apache virtual hosts for the new project sites and sometimes tweak system-wide PHP versions or database settings. If there was a risk of introducing a breaking change for another project, I would have to dig out and set up a spare physical machine.&lt;/p&gt;
&lt;p&gt;Docker helps streamline the project setup tasks by offering isolated containers for each client, reducing the time spent building the environment and troubleshooting compatibility issues. For example, a Drupal 7 site may need PHP 5.6, while a new WordPress installation might require PHP 8. With Docker, you can run both versions in separate containers, avoiding annoying conflicts.&lt;/p&gt;
&lt;p&gt;Docker volumes ensure data persistence for databases and installation files, even if a container is removed. Starting over from a botched migration simply means rebuilding the container from a pristine state—a process that usually takes minutes.&lt;/p&gt;
&lt;h3 id="key-advantages-and-limitations-of-docker"&gt;Key Advantages and Limitations of Docker&lt;/h3&gt;
&lt;p&gt;Docker is lightweight compared to traditional virtual machines. It shares the system kernel, allowing you to run multiple containers without overloading your system. This makes it particularly useful for testing different configurations or managing multiple projects.&lt;/p&gt;
&lt;p&gt;However, it's important to note some limitations. Building Docker images for the first time can be time-consuming, and unused containers or images can quickly consume disk space if not managed regularly. Also, keeping a clean and efficient environment requires periodic maintenance. This can be annoying when you're knee-deep in a complex migration and you find your development machine running out of disk space.&lt;/p&gt;
&lt;p&gt;Docker is not a complete solution for all problems, but thankfully, known issues like security concerns, networking challenges, and resource management apply to production sites rather than temporary migration environments.&lt;/p&gt;
&lt;h3 id="essential-docker-concepts"&gt;Essential Docker Concepts&lt;/h3&gt;
&lt;p&gt;I'll go over some important basics before delving into the steps for setting up Docker Containers for Drupal 7 Migration Projects. You might get a little lost without an understanding of these concepts so be sure to at least skim through them if you're new to Docker. You can find information over on the &lt;a href="https://docs.docker.com/" target="_blank" rel="noopener noreferrer"&gt;dockerdocs&lt;/a&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Containers:&lt;/strong&gt; Containers are lightweight, portable units that package your application and its dependencies. They run isolated from each other and the host system, ensuring consistency across development, staging, and production environments.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Images:&lt;/strong&gt; A Docker image is a pre-configured snapshot that defines what is inside a container. Images include your application, libraries, runtime, and any dependencies.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Dockerfile:&lt;/strong&gt; A Dockerfile is a text file with instructions for creating a Docker image. It defines the base image, environment variables, software installations, and configuration commands.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Volumes:&lt;/strong&gt; Volumes are used to persist data generated by a container. They're essential for making sure changes to the Drupal database or files aren't lost when the container stops or is removed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Networks:&lt;/strong&gt; Docker's networking features allow containers to communicate with each other or with external services. For example, you could use the network to send data from Drupal container to a WordPress container, or a container that holds your migration utilities.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Docker Compose:&lt;/strong&gt; Docker Compose is a tool that allows you to define and run multi-container Docker applications using a &lt;code&gt;docker-compose.yml&lt;/code&gt; file. It simplifies the management of environments with multiple interconnected services (e.g., a Drupal site with a PHP container, a database container, and a reverse proxy).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Registry and Docker Hub:&lt;/strong&gt; Docker Hub is a public registry where developers can find and share Docker images. Knowing how to pull official images from trusted sources and push your custom images to private or public registries is an important skill.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Commands and CLI Basics:&lt;/strong&gt; Familiarity with Docker CLI commands like &lt;code&gt;docker build&lt;/code&gt;, &lt;code&gt;docker ps&lt;/code&gt;, and &lt;code&gt;docker compose up -d --build&lt;/code&gt; will allow you to manage and troubleshoot containers effectively. See the &lt;a href="https://docs.docker.com/reference/" target="_blank" rel="noopener noreferrer"&gt;command-line interfaces&lt;/a&gt; documentation for more about the commands.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;p&gt;&lt;span id="how-to-set-up-docker"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="5-how-to-set-up-docker-containers-for-drupal-7-migrations"&gt;5. How to Set Up Docker Containers for Drupal 7 Migrations&lt;/h2&gt;
&lt;p&gt;By now you should have a good understanding of what Docker is, how it can help with a migration project, and some basic concepts. Let's get on with actually setting it up. Here we'll create a container to install Drupal 7.103, released on 4 December 2024, with a full stack including web server, database and Drush.&lt;/p&gt;
&lt;h3 id="1-install-docker"&gt;1. Install Docker&lt;/h3&gt;
&lt;p&gt;First, ensure Docker is installed on your system. You can follow &lt;a href="https://docs.docker.com/get-docker/"&gt;Docker's official installation guide&lt;/a&gt; for your operating system. I find the most convenient method is to install Docker Desktop which includes all the Docker tools and is available for Linux, Mac and Windows.&lt;/p&gt;
&lt;h3 id="2-create-your-project-structure"&gt;2. Create Your Project Structure&lt;/h3&gt;
&lt;p&gt;Create a folder structure for your migration project. Here's a variation of the project structure we use.&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="n"&gt;project&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;
&lt;span class="err"&gt;├──&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="w"&gt;                    &lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Secrets&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ow"&gt;and&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;environment&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;variables&lt;/span&gt;
&lt;span class="err"&gt;├──&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;backups&lt;/span&gt;&lt;span class="w"&gt;                 &lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;Local&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;backups&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;directory&lt;/span&gt;
&lt;span class="err"&gt;├──&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;docker&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;compose&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;yml&lt;/span&gt;
&lt;span class="err"&gt;├──&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;docker&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;
&lt;span class="err"&gt;│&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="err"&gt;├──&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;drupal&lt;/span&gt;&lt;span class="o"&gt;-[&lt;/span&gt;&lt;span class="n"&gt;version&lt;/span&gt;&lt;span class="o"&gt;]/&lt;/span&gt;
&lt;span class="err"&gt;│&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="err"&gt;│&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="err"&gt;└──&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Dockerfile&lt;/span&gt;
&lt;span class="err"&gt;│&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="err"&gt;└──&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;phpmyadmin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;
&lt;span class="err"&gt;│&lt;/span&gt;&lt;span class="w"&gt;       &lt;/span&gt;&lt;span class="err"&gt;└──&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Dockerfile&lt;/span&gt;
&lt;span class="err"&gt;├──&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;logs&lt;/span&gt;&lt;span class="w"&gt;                    &lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;Log&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;files&lt;/span&gt;
&lt;span class="err"&gt;├──&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;src&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="w"&gt;                    &lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Your&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;local&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Drupal&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;installation&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;files&lt;/span&gt;
&lt;span class="err"&gt;└──&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;utils&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="w"&gt;                  &lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Your&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;migration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;utilities&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;h4 id="file-and-database-persistence"&gt;File and Database Persistence&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;File Changes: Drupal core/theme/module changes will persist on host through a mapping to the &lt;code&gt;./src&lt;/code&gt; directory.&lt;/li&gt;
&lt;li&gt;Database Changes: the database will be stored in a named volume managed by Docker. The data will persist across container restarts/rebuilds unless the volume is manually deleted.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="3-download-the-drupal-installation-files"&gt;3. Download the Drupal Installation Files&lt;/h3&gt;
&lt;p&gt;We will use Drupal 7.103 for our container. (Note: &lt;em&gt;This is the newest version, released on 4 December 2024, as of the last update for this article.&lt;/em&gt;) &lt;a href="https://www.drupal.org/project/drupal/releases/7.103" target="_blank" rel="noopener noreferrer"&gt;Download it from the Drupal website&lt;/a&gt; and extract the files into your &lt;code&gt;./src&lt;/code&gt; directory.&lt;/p&gt;
&lt;p&gt;The container will create a &lt;a href="https://docs.docker.com/engine/storage/bind-mounts/" target="_blank" rel="noopener noreferrer"&gt;bind mount&lt;/a&gt; to map the &lt;code&gt;./src&lt;/code&gt; directory on the host machine to &lt;code&gt;/var/www/html&lt;/code&gt; inside the container. This means that any changes made to the files in the container at &lt;code&gt;/var/www/html&lt;/code&gt; will be reflected in the &lt;code&gt;./src&lt;/code&gt; directory on the host machine, and vice versa.&lt;/p&gt;
&lt;h3 id="4-create-your-env-file"&gt;4. Create Your &lt;code&gt;.env&lt;/code&gt; File&lt;/h3&gt;
&lt;p&gt;The &lt;code&gt;.env&lt;/code&gt; file is a text file used by Docker Compose to define environment variables. These variables can be referenced in the &lt;code&gt;docker-compose.yml&lt;/code&gt; file to make your configurations more flexible and easier to manage. It's a good way of preventing sensitive information like passwords from being included in source control.&lt;/p&gt;
&lt;p&gt;It will look something like this:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;DRUPAL_DB_HOST=db
DRUPAL_DB_USER=dbuser
DRUPAL_DB_PASSWORD=dbpass
DRUPAL_DB_NAME=drupal_db

MYSQL_ROOT_PASSWORD=root
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Ensure you adjust it to use your own variables.&lt;/p&gt;
&lt;h3 id="4-create-your-drupal-dockerfile"&gt;4. Create Your Drupal Dockerfile&lt;/h3&gt;
&lt;p&gt;The Dockerfile sets out the instructions for creating a Docker image, defining the base image, environment variables, software installations, and configuration commands.&lt;/p&gt;
&lt;p&gt;An image for Drupal 7.103 with Apache, Drush and PHP Composer might look like this:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="n"&gt;FROM&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;drupal&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mf"&gt;7.103&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;apache&lt;/span&gt;

&lt;span class="c1"&gt;# Install required PHP extensions and tools&lt;/span&gt;
&lt;span class="n"&gt;RUN&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;apt&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;update&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;apt&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;install&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;vim&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;unzip&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;libicu&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;libzip&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;libxml2&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;libonig&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;zlib1g&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;default&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mysql&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;docker&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ext&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;install&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;pdo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;pdo_mysql&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;zip&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;intl&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;rf&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;apt&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lists&lt;/span&gt;&lt;span class="o"&gt;/*&lt;/span&gt;

&lt;span class="c1"&gt;# Configure PHP&lt;/span&gt;
&lt;span class="n"&gt;RUN&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;echo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"memory_limit = 256M"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;conf&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;memory&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;limit&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ini&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;echo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"upload_max_filesize = 64M"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;conf&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;upload&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;limit&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ini&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;\
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;echo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"post_max_size = 64M"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;conf&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;upload&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;limit&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ini&lt;/span&gt;

&lt;span class="c1"&gt;# Install PHP extensions needed by Drupal&lt;/span&gt;
&lt;span class="n"&gt;RUN&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;docker&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ext&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;install&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;pdo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;pdo_mysql&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;zip&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;intl&lt;/span&gt;

&lt;span class="c1"&gt;# Enable Apache mods commonly needed by Drupal&lt;/span&gt;
&lt;span class="n"&gt;RUN&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;a2enmod&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rewrite&lt;/span&gt;

&lt;span class="c1"&gt;# Install Composer (from the Composer official image)&lt;/span&gt;
&lt;span class="n"&gt;COPY&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;from&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;composer&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;composer&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;composer&lt;/span&gt;

&lt;span class="c1"&gt;# Install Drush globally via Composer&lt;/span&gt;
&lt;span class="n"&gt;RUN&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;composer&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;global&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;require&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;drush&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;drush&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mf"&gt;8.&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;

&lt;span class="c1"&gt;# Ensure Drush is on PATH&lt;/span&gt;
&lt;span class="n"&gt;ENV&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;PATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/root/.composer/vendor/bin:${PATH}"&lt;/span&gt;

&lt;span class="c1"&gt;# Set the container working directory&lt;/span&gt;
&lt;span class="n"&gt;WORKDIR&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;html&lt;/span&gt;

&lt;span class="c1"&gt;# Ensure the Apache user (www-data) owns the web root&lt;/span&gt;
&lt;span class="n"&gt;RUN&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;chown&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;R&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;html&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This grabs the offical Docker Hub repository image for Drupal 7.103 with the Apache web server. You'll notice the Drupal image doesn't include any specifications for a database. This will be handled by the &lt;code&gt;docker-compose.yml&lt;/code&gt; file later.&lt;/p&gt;
&lt;p&gt;If you followed my project structure above, place this Dockerfile in a &lt;code&gt;drupal-7.103&lt;/code&gt; folder inside the &lt;code&gt;docker&lt;/code&gt; subdirectory.&lt;/p&gt;
&lt;p&gt;Adjust the Dockerfile for your own needs but here are some notes to avoid headaches:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;default-mysql-client&lt;/code&gt;: If you're familiar with installing MySQL on a Linux system, you might be tempted to run &lt;code&gt;apt-get&lt;/code&gt; for &lt;code&gt;mysql-client&lt;/code&gt;. Don't do this. The Docker repository for &lt;code&gt;drupal:7.103-apache&lt;/code&gt; is based on Debian Bookworm (Debian 12). Debian has stopped packaging &lt;code&gt;mysql-client&lt;/code&gt; as of Debian 10 so you will encounter errors. Make sure you use the &lt;code&gt;default-mysql-client&lt;/code&gt; metapackage instead. This will install the MySQL compatible &lt;code&gt;mariadb-client&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;composer:2&lt;/code&gt;: Although Drupal 7 does not have native Composer support, we are using it to install Drush.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;drush:8&lt;/code&gt;: Install Drush 8, which is the latest compatible version Drupal 7 websites. A later version will install but you will encounter errors running some Drush commands.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="5-create-a-phpmyadmin-dockerfile-optional"&gt;5. Create a phpMyAdmin Dockerfile (optional)&lt;/h3&gt;
&lt;p&gt;This step is optional but it's useful to install phpMyAdmin so that you can do some basic database tasks. A phpMyAdmin Dockerfile that pulls the latest version of phpMyAdmin from the official Docker Hub repository would look like this:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;FROM phpmyadmin:latest

# Add ServerName configuration
RUN echo "ServerName localhost" &amp;gt;&amp;gt; /etc/apache2/apache2.conf
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Place this Dockerfile in a &lt;code&gt;phpmyadmin&lt;/code&gt; folder inside the &lt;code&gt;docker&lt;/code&gt; subdirectory.&lt;/p&gt;
&lt;h3 id="6-create-your-docker-composeyml-file"&gt;6. Create Your &lt;code&gt;docker-compose.yml&lt;/code&gt; File&lt;/h3&gt;
&lt;p&gt;Docker Compose will let you define and run all the necessary applications using a &lt;code&gt;docker-compose.yml&lt;/code&gt; file. The example below defines services for Drupal, MySQL and phpMyAdmin, and should be saved in the root of your project folder. Please read the &lt;a href="https://docs.docker.com/reference/compose-file/" target="_blank" rel="noopener noreferrer"&gt;Compose file reference&lt;/a&gt; for a detailed explanation of each section in order to customise it for your needs.&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="n"&gt;services&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;drupal&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;build&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;context&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;dockerfile&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;./&lt;/span&gt;&lt;span class="n"&gt;docker&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;drupal&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;7.103&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;Dockerfile&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"8088:80"&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="c1"&gt;# Ensure you copy your Drupal site here to avoid permission issues&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="c1"&gt;# If you are starting with a fresh Drupal installation, download&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="c1"&gt;# the correct Drupal version and extract it here.&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="c1"&gt;# https://www.drupal.org/project/drupal/releases/7.103&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;./&lt;/span&gt;&lt;span class="n"&gt;src&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;html&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;cached&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;depends_on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;db&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;                &lt;/span&gt;&lt;span class="n"&gt;condition&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;service_healthy&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;env_file&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;environment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_HOST&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;$&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_HOST&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_USER&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;$&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_USER&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_PASSWORD&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;$&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_PASSWORD&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_NAME&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;$&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_NAME&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;PHP_FPM_USER&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;PHP_FPM_GROUP&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;

&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;db&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;mysql&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mf"&gt;5.7&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;env_file&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;environment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;MYSQL_DATABASE&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;$&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_NAME&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;MYSQL_USER&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;$&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_USER&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;MYSQL_PASSWORD&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;$&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_PASSWORD&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;MYSQL_ROOT_PASSWORD&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;$&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;MYSQL_ROOT_PASSWORD&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;db_data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mysql&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"3307:3306"&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;healthcheck&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;test&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"CMD"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"mysqladmin"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"ping"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"-h"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"localhost"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"-u"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"drupal"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"-pdrupal_pass"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;interval&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;retries&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;

&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;phpmyadmin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;build&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;context&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;dockerfile&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;./&lt;/span&gt;&lt;span class="n"&gt;docker&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;phpmyadmin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;Dockerfile&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"8081:80"&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;env_file&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;environment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;PMA_HOST&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;$&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_HOST&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;PMA_USER&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;$&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_USER&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;PMA_PASSWORD&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;$&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;DRUPAL_DB_PASSWORD&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;PMA_ABSOLUTE_URI&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;localhost&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;8081&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;depends_on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;db&lt;/span&gt;

&lt;span class="n"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;db_data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;h4 id="the-mysql-image"&gt;The MySQL Image&lt;/h4&gt;
&lt;p&gt;You will see that I used MySQL 5.7 in this configuration to simulate an outdated environment. MySQL 5.7 reached its end of life in October 2023 but as of late-2024, we have clients who, for one reason or another, are still running MySQL 5.7. They are not alone. A September 2024 article from Percona, a database software and support company, has a FAQ section titled, "&lt;a href="https://www.percona.com/blog/mysql-8-0-vs-5-7-are-the-newer-versions-more-problematic/" target="_blank" rel="noopener noreferrer"&gt;Should I upgrade from MySQL 5.7 to 8.0?&lt;/a&gt;" Clearly, a large percentage of sites are still running legacy databases on their web stack.&lt;/p&gt;
&lt;p&gt;If you are using MySQL versions 8.x, visit Docker Hub's &lt;a href="https://hub.docker.com/_/mysql" target="_blank" rel="noopener noreferrer"&gt;MySQL repository&lt;/a&gt; to see the relevant image tags. You will need to update this section:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;    db:
        image: mysql:5.7
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Also, most development machines will already have a MySQL server running on the local port &lt;code&gt;3306&lt;/code&gt;. To avoid conflicts, this &lt;code&gt;docker-compose.yml&lt;/code&gt; maps the container's MySQL port to the local port &lt;code&gt;3307&lt;/code&gt;. Adjust this to suit your own setup.&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;        ports:
            - "3307:3306"
&lt;/pre&gt;&lt;/div&gt;

&lt;h3 id="7-build-and-start-the-environment"&gt;7. Build and Start the Environment&lt;/h3&gt;
&lt;p&gt;Now you're ready to build and start your environment. Open up a terminal and run the following command:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;docker compose up -d --build
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This will use Docker Compose to build the containers and run them in detached mode. It may take a few minutes to complete if you're running this command for the first time. Docker will need to download all the images from the Docker repository before building.&lt;/p&gt;
&lt;h3 id="8-access-your-local-drupal-setup"&gt;8. Access Your Local Drupal Setup&lt;/h3&gt;
&lt;p&gt;If all goes well you should have your environment ready to install Drupal 7. Visit &lt;code&gt;http://localhost:8080&lt;/code&gt; in your browser to access the Drupal 7 instance running in the Docker container.&lt;/p&gt;
&lt;p&gt;Follow the installation wizard and
Use these database settings in your .env file.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;span id="testing-workflow"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="6-testing-and-workflow"&gt;6. Testing and Workflow&lt;/h2&gt;
&lt;p&gt;You can use these commands to test your installation. Check the documentation in the &lt;a href="https://migratecontent.com/drupal-7-docker-containers-migration-projects/#additional-resources"&gt;Additional Resources&lt;/a&gt; section below for more commands.&lt;/p&gt;
&lt;h3 id="basic-testing"&gt;Basic Testing&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Container Status:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="c1"&gt;# Check if all containers are running&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;ps
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Expected output: db, drupal and phpMyAdmin services should show "Up" status&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Drupal Installation:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Access the Drupal site at http://localhost:8088&lt;/li&gt;
&lt;li&gt;You should see the Drupal installation page or site&lt;/li&gt;
&lt;li&gt;Check error logs if needed:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;logs&lt;span class="w"&gt; &lt;/span&gt;drupal
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Drush Functionality:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="c1"&gt;# Test Drush status&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;drush&lt;span class="w"&gt; &lt;/span&gt;status

&lt;span class="c1"&gt;# Test Drush version&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;drush&lt;span class="w"&gt; &lt;/span&gt;--version

&lt;span class="c1"&gt;# Test site-specific Drush commands&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;drush&lt;span class="w"&gt; &lt;/span&gt;core-status
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Composer Functionality:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="c1"&gt;# Test Composer version&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;composer&lt;span class="w"&gt; &lt;/span&gt;--version

&lt;span class="c1"&gt;# Test Composer diagnostics&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;composer&lt;span class="w"&gt; &lt;/span&gt;diagnose
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Database Connection:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="c1"&gt;# Test database connection via Drush&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;drush&lt;span class="w"&gt; &lt;/span&gt;sql-connect

&lt;span class="c1"&gt;# Test phpMyAdmin access&lt;/span&gt;
&lt;span class="c1"&gt;# Visit http://localhost:8081&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;h3 id="testing-your-migration-utilities-with-sample-content"&gt;Testing Your Migration Utilities With Sample Content&lt;/h3&gt;
&lt;p&gt;You can use Drush to generate sample content. This can be useful for testing your migration utilities.&lt;/p&gt;
&lt;h4 id="1-log-into-the-containers-terminal"&gt;1. Log Into the Container's Terminal&lt;/h4&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;bash
&lt;/pre&gt;&lt;/div&gt;

&lt;h4 id="2-install-helper-modules"&gt;2. Install Helper Modules&lt;/h4&gt;
&lt;p&gt;Install the &lt;code&gt;devel&lt;/code&gt;, &lt;code&gt;devel_generate&lt;/code&gt;, and &lt;code&gt;taxonomy_manager&lt;/code&gt; modules:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;drush&lt;span class="w"&gt; &lt;/span&gt;en&lt;span class="w"&gt; &lt;/span&gt;devel&lt;span class="w"&gt; &lt;/span&gt;-y
drush&lt;span class="w"&gt; &lt;/span&gt;en&lt;span class="w"&gt; &lt;/span&gt;devel_generate&lt;span class="w"&gt; &lt;/span&gt;-y
drush&lt;span class="w"&gt; &lt;/span&gt;en&lt;span class="w"&gt; &lt;/span&gt;taxonomy_manager&lt;span class="w"&gt; &lt;/span&gt;-y
&lt;/pre&gt;&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Devel Module:&lt;/strong&gt; The Devel module is a comprehensive toolkit for Drupal developers that offers several submodules and features to aid in development and debugging.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Devel Generate Module:&lt;/strong&gt; The Devel Generate module is a submodule of the Devel module, specifically designed for generating dummy content.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Taxonomy Manager Module:&lt;/strong&gt; Use the Taxonomy Manager module to mass insert taxonomy terms.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="3-generate-sample-content"&gt;3. Generate Sample Content&lt;/h4&gt;
&lt;p&gt;Now generate some sample content:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="c1"&gt;# Generate nodes with randon content&lt;/span&gt;
drush&lt;span class="w"&gt; &lt;/span&gt;generate-content&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;500&lt;/span&gt;

&lt;span class="c1"&gt;# Generate users&lt;/span&gt;
drush&lt;span class="w"&gt; &lt;/span&gt;generate-users&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;25&lt;/span&gt;

&lt;span class="c1"&gt;# Generate taxonomy terms&lt;/span&gt;
drush&lt;span class="w"&gt; &lt;/span&gt;generate-terms&lt;span class="w"&gt; &lt;/span&gt;tags&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;20&lt;/span&gt;

&lt;span class="c1"&gt;# Generate nodes for a specific content type&lt;/span&gt;
drush&lt;span class="w"&gt; &lt;/span&gt;generate-content&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;20&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;--types&lt;span class="o"&gt;=&lt;/span&gt;article

&lt;span class="c1"&gt;# Generate comments on random nodes:&lt;/span&gt;
drush&lt;span class="w"&gt; &lt;/span&gt;generate-comments&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;250&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;h3 id="development-workflow"&gt;Development Workflow&lt;/h3&gt;
&lt;p&gt;Here are some basic commands to support your development and migration workflow.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Starting/Stopping Environment:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="c1"&gt;# Start containers&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;up&lt;span class="w"&gt; &lt;/span&gt;-d

&lt;span class="c1"&gt;# Stop containers&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;down

&lt;span class="c1"&gt;# View logs&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;logs&lt;span class="w"&gt; &lt;/span&gt;-f
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Using Drush:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="c1"&gt;# Access Drush&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;drush

&lt;span class="c1"&gt;# Clear cache&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;drush&lt;span class="w"&gt; &lt;/span&gt;cc&lt;span class="w"&gt; &lt;/span&gt;all

&lt;span class="c1"&gt;# Update database&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;drush&lt;span class="w"&gt; &lt;/span&gt;updb
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Working with Composer:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="c1"&gt;# Install dependencies&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;composer&lt;span class="w"&gt; &lt;/span&gt;install

&lt;span class="c1"&gt;# Add new package&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;composer&lt;span class="w"&gt; &lt;/span&gt;require&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;package-name&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Service Access:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Drupal: http://localhost:8088&lt;ul&gt;
&lt;li&gt;Username and password as set during the installation process.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;phpMyAdmin: http://localhost:8081&lt;ul&gt;
&lt;li&gt;Username: (from .env)&lt;/li&gt;
&lt;li&gt;Password: (from .env)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;MySQL: localhost:3307&lt;ul&gt;
&lt;li&gt;Username: (from .env)&lt;/li&gt;
&lt;li&gt;Password: (from .env)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Database Operations:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="c1"&gt;# Export database&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;db&lt;span class="w"&gt; &lt;/span&gt;mysqldump&lt;span class="w"&gt; &lt;/span&gt;-u&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;user&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;-p&lt;span class="o"&gt;[&lt;/span&gt;root-password&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;&amp;gt;&lt;span class="w"&gt; &lt;/span&gt;backup.sql

&lt;span class="c1"&gt;# Import database&lt;/span&gt;
docker&lt;span class="w"&gt; &lt;/span&gt;compose&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;exec&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;-T&lt;span class="w"&gt; &lt;/span&gt;db&lt;span class="w"&gt; &lt;/span&gt;mysql&lt;span class="w"&gt; &lt;/span&gt;-u&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;user&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;-p&lt;span class="o"&gt;[&lt;/span&gt;root-password&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drupal&lt;span class="w"&gt; &lt;/span&gt;&amp;lt;&lt;span class="w"&gt; &lt;/span&gt;backup.sql
&lt;/pre&gt;&lt;/div&gt;

&lt;hr&gt;
&lt;p&gt;&lt;span id="preparing-migration"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="7-preparing-for-your-drupal-7-migration"&gt;7. Preparing for Your Drupal 7 Migration&lt;/h2&gt;
&lt;p&gt;If you made it this far, you will have a fully working and tested Docker container with Drupal 7, access to the database, and some basic tools to support migration or upgrade tasks. This environment isolates your development work, ensuring that your live site remains unaffected throughout the process.&lt;/p&gt;
&lt;h3 id="importing-your-live-drupal-installation-into-the-container"&gt;Importing Your Live Drupal Installation into the Container&lt;/h3&gt;
&lt;p&gt;To get started with your migration project, you'll need to transfer your existing live Drupal installation into the container. The Drupal 7 documentation for &lt;a href="https://www.drupal.org/docs/7/backing-up-and-migrating-a-site/migrating-a-site" target="_blank" rel="noopener noreferrer"&gt;migrating a site between environments&lt;/a&gt; will give you an outline of the steps.&lt;/p&gt;
&lt;p&gt;As a summary, you begin by exporting the database and files from your live site. Once you have these, you can load the database into the container's MySQL instance and place the site's files in the &lt;code&gt;./src&lt;/code&gt; directory on your host filesystem. (Remember, we created a bind mount to map the &lt;code&gt;./src&lt;/code&gt; directory to the container's web directory at &lt;code&gt;/var/www/html&lt;/code&gt;.) This gives you a working copy of your live site, but in a safe, sandboxed environment.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Important note:&lt;/strong&gt; &lt;em&gt;In this article we used Drupal 7.103 for our container. To avoid problems with version conflicts, you should update your live Drupal site to the same version before exporting.&lt;/em&gt;&lt;/p&gt;
&lt;h3 id="creating-a-pristine-snapshot"&gt;Creating a Pristine Snapshot&lt;/h3&gt;
&lt;p&gt;Before diving into migration tasks, it's a good idea to create a snapshot of the container in its pristine state. This serves as a clean starting point you can revert to if anything goes wrong during the migration process. A snapshot ensures you won't need to repeat the setup steps from scratch if you need to restart or experiment with different migration approaches.&lt;/p&gt;
&lt;p&gt;You create a snapshot by committing the current state of your container to a new Docker image. I'll cover this in a separate article but at this stage you will now be ready to use whatever tools you need to upgrade or migrate your Drupal 7 installation.&lt;/p&gt;
&lt;h3 id="migration-options"&gt;Migration Options&lt;/h3&gt;
&lt;p&gt;Instructions for the migration itself will need to be covered elsewhere as it's a very detailed process. However, you can check these resources for your migration options:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;strong&gt;Upgrading to a newer version of Drupal&lt;/strong&gt;: You can use your container to trial-run the upgrade steps in the Drupal documentation, "&lt;a href="https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-6-or-drupal-7" target="_blank" rel="noopener noreferrer"&gt;Upgrading from Drupal 6 or Drupal 7&lt;/a&gt;."&lt;/li&gt;

    &lt;li&gt;&lt;strong&gt;Migrating to another platform:&lt;/strong&gt; If you plan to migrate to another platform such as WordPress, please see our &lt;a href="https://migratecontent.com/how-we-migrate-technical-process/" title="Drupal to WordPress Migration Guide"&gt;Drupal to WordPress Migration Guide&lt;/a&gt;.&lt;/li&gt;

&lt;/ul&gt;

&lt;hr&gt;
&lt;p&gt;&lt;span id="conclusion"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="8-conclusion"&gt;8. Conclusion&lt;/h2&gt;
&lt;p&gt;Docker provides a very practical and reliable way to set up migration environments. While it requires an initial investment in learning, the long-term benefits include consistent workflows, reliable environments, and over-all, fewer frustrations when getting started with a migration project. Docker won't solve every migration challenge, but in my experience, it definitely simplifies many of the technical hurdles involved.&lt;/p&gt;
&lt;p&gt;If you're facing challenges with Drupal 7 migrations or need expert assistance, &lt;a href="https://migratecontent.com/contact/"&gt;reach out to us&lt;/a&gt;. We can help make your next project smooth, efficient, and future-proof.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;span id="additional-resources"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="additional-resources"&gt;Additional Resources&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a href="https://www.drupal.org/docs" target="_blank" rel="noopener noreferrer"&gt;Official Drupal Documentation&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="https://docs.docker.com/" target="_blank" rel="noopener noreferrer"&gt;Docker Documentation&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="https://www.drush.org/latest/" target="_blank" rel="noopener noreferrer"&gt;Drush Documentation&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="https://getcomposer.org/doc/" target="_blank" rel="noopener noreferrer"&gt;Composer Documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;section class="breakout-white"&gt;
&lt;div class="breakout-inner text-center"&gt;

&lt;h3&gt;Need Help With Your Drupal 7 Migration?&lt;/h3&gt;

&lt;p&gt;I specialise in complex Drupal to WordPress migrations, including setting up Docker-based development environments, custom migration scripts, and zero-downtime launches. Get a free, no-obligation consultation.&lt;/p&gt;

&lt;div class="button-container" style="margin:2em 0;"&gt;
&lt;a class="cta-button" href="https://migratecontent.com/contact/" title="Get a quote for your Drupal 7 migration"&gt;Get a Free Quote&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;/section&gt;</description><category>docker</category><category>drupal</category><category>drupal-7</category><category>migration</category><guid>https://migratecontent.com/drupal-7-docker-containers-migration-projects/</guid><pubDate>Mon, 09 Sep 2024 13:25:15 GMT</pubDate></item><item><title>How to set up a MySQL database server on Ubuntu for Drupal to WordPress migrations</title><link>https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>&lt;p&gt;Content Management System (CMS) migration projects involve moving data between databases with different schemas. Table names, field types and constraints often don't match up, leading to a number of frustrating errors. This is especially the case with &lt;a href="https://migratecontent.com/content-migration-process/"&gt;highly complex Drupal to WordPress migrations&lt;/a&gt; that use custom scripts to extract, transform and load the data. These projects can seem like you're constantly hitting roadblocks throughout. I've found from experience that running the migration in an appropriate development environment can reduce a great deal of effort. In this guide, I will describe how to set up a MySQL database server on Ubuntu for Drupal to WordPress migrations.&lt;/p&gt;

&lt;figure class="figure d-flex flex-column align-items-center"&gt;
    &lt;img src="https://migratecontent.com/images/rubaitul-azad-Y9kOsyoWyaU-unsplash.jpg" alt="MySQL database logo" class="figure-img img-fluid rounded" width="800" height="500"&gt;
&lt;/figure&gt;

&lt;h2 id="drupal-to-wordPress-mysql-server-toc"&gt;Table of contents&lt;/h2&gt;
&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#why-mysql-ubuntu"&gt;Why MySQL and Ubuntu?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#installing-mysql-for-migrations"&gt;Installing MySQL on Ubuntu for CMS migrations&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#setup-lamp-migration-platform"&gt;Set up your Ubuntu LAMP migration platform&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#install-mysql"&gt;Install MySQL&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#setting-sql-mode"&gt;Setting the MySQL server SQL mode&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#set-global-sql-mode"&gt;Option 1: Setting the global sql_mode in the database&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#set-mysql-config-file"&gt;Option 2: setting the sql_mode in the MySQL configuration file&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#locating-mysql-conf"&gt;Locating the MySQL configuration file&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#edit-mysql-config-file"&gt;Editing the MySQL configuration file&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#potential-errors"&gt;Potential errors&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#mysqldump-access-denied-when-trying-to-dump-tablespaces"&gt;mysqldump access denied when trying to dump tablespaces&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#ERROR-1067-42000-Invalid-default-value"&gt;ERROR 1067 (42000) Invalid default value&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#Expression-1-of-SELECT-list-is-not-in-GROUP-BY-clause"&gt;Expression #1 of SELECT list is not in GROUP BY clause&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#Error-Code-2013-Lost-connection-to-MySQL-server"&gt;Error Code: 2013. Lost connection to MySQL server&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#conclusion"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;

&lt;h2 id="why-mysql-ubuntu"&gt;Why MySQL and Ubuntu?&lt;/h2&gt;
&lt;p&gt;The first thing to address is &lt;em&gt;why MySQL and Ubuntu?&lt;/em&gt; How about MariaDB? How about Arch Linux, Mac OS or Windows? Yes! Any platform that runs Drupal and WordPress will work for your migration environment so you can use whatever you prefer. Personally, I have a fondness for &lt;a href="https://www.openbsd.org/" target="_blank" rel="noreferrer noopener"&gt;OpenBSD&lt;/a&gt; but it's not a practical platform for a CMS migration. OpenBSD's niche user-base means you'll spend much longer installing necessary tools and troubleshooting errors.&lt;/p&gt;
&lt;p&gt;There are all sorts of tutorials covering MySQL on Ubuntu. This means you're more likely to quickly find a solution from a web search when you hit a problem. Furthermore, if you need a software utility or program to help you get the job done, it will probably be available through &lt;code&gt;apt&lt;/code&gt;, &lt;code&gt;dpkg&lt;/code&gt;,  &lt;code&gt;snap&lt;/code&gt; or &lt;code&gt;tasksel&lt;/code&gt;. Use whatever you like but for now, MySQL on Ubuntu is my recommended platform for Drupal to WordPress migrations. I expect this will be the case for some time to come. These projects are complex and time-consuming enough without making the &lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#mariadb-mysql-purge"&gt;job more difficult&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id="installing-mysql-for-migrations"&gt;Installing MySQL on Ubuntu for CMS migrations&lt;/h2&gt;
&lt;p&gt;There are many detailed tutorials for installing MySQL on Ubuntu. DigitalOcean's &lt;a href="https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-20-04" target="_blank" rel="noreferrer noopener nofollow"&gt;How To Install MySQL on Ubuntu 20.04&lt;/a&gt; is a good one and writing another won't add much value. My guide will therefore only give a brief overview of the MySQL server installation steps. Instead, I will focus on the configuration areas specifically related avoiding problems on a CMS migration project.&lt;/p&gt;
&lt;p&gt;You may wonder why the migration environment should be much different from a live server. Migration projects require you to do things that aren't supported by the CMS platform. You're therefore likely to encounter &lt;a href="https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/#potential-errors"&gt;weird errors&lt;/a&gt; that aren't normally found when running standard Drupal or WordPress.&lt;/p&gt;

&lt;h3 id="setup-lamp-migration-platform"&gt;Set up your Ubuntu LAMP migration platform&lt;/h3&gt;
&lt;p&gt;The main source of unusual errors is almost certainly because you're migrating on a setup suited to a live website. Live server configurations are more restrictive than you need for a migration project. You can therefore save yourself a huge headache by rolling your own local migration environment. It might take a little longer to get started but you'll save time by avoiding lots of unnecessary troubleshooting.&lt;/p&gt;
&lt;p&gt;I must highlight that this will be a &lt;em&gt;local migration environment&lt;/em&gt; and should not be accessible from the public internet. The normal security considerations with running a live content management system don't apply when you're working locally. By all means follow basic security measures mentioned the various tutorials for setting up Ubuntu and MySQL. Nevertheless, a highly secure setup is counterproductive for these projects and you can avoid trouble by being a little more permissive.&lt;/p&gt;
&lt;p&gt;Go ahead and &lt;a href="https://ubuntu.com/tutorials/install-ubuntu-desktop" target="_blank" rel="noreferrer noopener"&gt;install Ubuntu Desktop&lt;/a&gt;. Since this will be a development environment, you'll want the Desktop environment rather than the more lightweight server version. Of course, you'll still need to install a web and database server. &lt;a href="https://upcloud.com/community/tutorials/installing-lamp-stack-ubuntu/" target="_blank" rel="noreferrer noopener"&gt;Follow these instructions for installing LAMP stack&lt;/a&gt; but skip the step of installing MariaDB. As mentioned above, we'll be using MySQL.&lt;/p&gt;


&lt;div id="mariadb-mysql-purge" class="alert alert-warning"&gt;
&lt;p class="has-text-align-left"&gt;&lt;strong&gt;WARNING:&lt;/strong&gt; Installing MariaDB over MySQL or vice versa on Ubuntu 20.04 may lead to all sorts of &lt;a href="https://askubuntu.com/questions/1300304/mysql-not-working-after-uninstall-mariadb-in-ubuntu" target="_blank" rel="noreferrer noopener"&gt;problems starting up the database server&lt;/a&gt; with errors like the following:&lt;/p&gt;
&lt;p class="has-text-align-left"&gt;&lt;code&gt;Failed to start mysqld.service: Unit mysqld.service not found&lt;/code&gt;.&lt;/p&gt;
&lt;p class="has-text-align-left"&gt;The last time I did this, none of solutions mentioned online for purging the installation worked. I spent most of a day trying to fix the problem. In the end, I realised it was quicker to start again and rebuild the machine from scratch. This is a big reason why I decided to stick with MySQL as standard for my projects.&lt;/p&gt;
&lt;/div&gt;

&lt;h3 id="install-mysql"&gt;Install MySQL&lt;/h3&gt;
&lt;p&gt;You can read a more detailed tutorial on &lt;a href="https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-20-04" target="_blank" rel="noreferrer noopener"&gt;installing MySQL on Ubuntu&lt;/a&gt; but here's an overview.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Update the package index on your server: &lt;code&gt;sudo apt update&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Install MySQL server: &lt;code&gt;sudo apt install mysql-server&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Secure MySQL: &lt;code&gt;sudo /usr/bin/mysql_secure_installation&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The &lt;code&gt;mysql_secure_installation&lt;/code&gt; script doesn't cause problems for migrations so it's worth running.&lt;/p&gt;
&lt;p&gt;Create an admin user:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CREATE USER 'user'@'localhost' IDENTIFIED BY 'userpassword';
GRANT ALL PRIVILEGES ON *.* to 'user'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
quit;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now create a user and database for your migration project:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CREATE USER 'projectuser'@'localhost' IDENTIFIED BY 'password';

CREATE DATABASE project_db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;
GRANT ALL ON project_db.* TO 'projectuser'@'localhost';&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;You can give this user more restrictive permissions but &lt;code&gt;GRANT ALL&lt;/code&gt; avoids errors when running scripts and SQL queries on the database. Only the migration team should have access and you won't need it after the migration so why not make your life easier? &lt;/p&gt;

&lt;h2 id="setting-sql-mode"&gt;Setting the MySQL server SQL mode&lt;/h2&gt;
&lt;p&gt;It's possible that you won't be familiar with &lt;a href="https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html" target="_blank" rel="noreferrer noopener"&gt;SQL modes&lt;/a&gt; unless you've done some database administration work. For our purposes, SQL modes do two things:&lt;/p&gt;


&lt;ul&gt;
&lt;li&gt;change the types of queries you can run on your MySQL server;&lt;/li&gt;
&lt;li&gt;change the validation checks when altering the data.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I've found that specific SQL modes need to be set for Drupal to WordPress projects. You may find that all sorts of strange errors appear if the correct modes aren't set. The following sections show you two ways to set your MySQL server's SQL mode.&lt;/p&gt;

&lt;h3 id="set-global-sql-mode"&gt;Option 1: Setting the global sql_mode in the database&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Login in to database as an admin user.&lt;/li&gt;
&lt;li&gt;View the current sql-modes using &lt;code&gt;SELECT @@GLOBAL.sql_mode;&lt;/code&gt; and make a copy if necessary.&lt;/li&gt;
&lt;li&gt;Copy the current modes (add or delete modes as needed) and paste in next step.&lt;/li&gt;
&lt;li&gt;Add &lt;code&gt;ALLOW_INVALID_DATES&lt;/code&gt; and removes both &lt;code&gt;NO_ZERO_DATE, NO_ZERO_IN_DATE&lt;/code&gt; by setting the sql-modes with&lt;br&gt;&lt;code&gt;SET GLOBAL sql_mode = 'STRICT_TRANS_TABLES,ALLOW_INVALID_DATES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';&lt;/code&gt; (WARNING: check the modes correspond with your setup.)&lt;/li&gt;
&lt;li&gt;Restart server:&lt;br&gt;&lt;code&gt;sudo systemctl start mysql&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id="set-mysql-config-file"&gt;Option 2: setting the sql_mode in the MySQL configuration file&lt;/h3&gt;
&lt;h4 id="locating-mysql-conf"&gt;Locating the MySQL configuration file&lt;/h4&gt;
&lt;p&gt;The &lt;code&gt;my.cnf&lt;/code&gt; configuration file isn't always found in the same place. It's specific to the Linux distribution and server configuration but can normally found in one of the following locations:&lt;/p&gt;
&lt;pre class="wp-block-preformatted"&gt;/etc/my.cnf
/etc/mysql/my.cnf
echo/my.cnf
[datadir]/my.cnf
~/.my.cnf&lt;/pre&gt;

&lt;p&gt;If you can't find your MySQL configuration file, you can try running &lt;code&gt;locate my.cnf&lt;/code&gt; or &lt;code&gt;mysqladmin --help&lt;/code&gt;. The latter will show something like the following in the output:&lt;/p&gt;

&lt;pre class="wp-block-preformatted"&gt;Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf ~/.my.cnf&lt;/pre&gt;
&lt;p&gt;Also keep in mind that it's possible to use &lt;code&gt;!include&lt;/code&gt; directives to include other &lt;a href="https://dev.mysql.com/doc/refman/8.0/en/option-files.html" rel="noreferrer noopener" target="_blank"&gt;option files&lt;/a&gt; and &lt;code&gt;!includedir&lt;/code&gt; to search specific directories for option files. Under Ubuntu, there may be a file &lt;code&gt;/etc/mysql/my.cnf&lt;/code&gt; with &lt;code&gt;!includedir&lt;/code&gt; directives to search &lt;code&gt;/etc/mysql/conf.d/&lt;/code&gt; and &lt;code&gt;/etc/mysql/mysql.conf.d/&lt;/code&gt;&lt;/p&gt;


&lt;h4 id="edit-mysql-config-file"&gt;Editing the MySQL configuration file&lt;/h4&gt;
&lt;p&gt;If the MySQL server finds more than one configuration file, it will load each one in turn. The values override each other and it can be difficult to know which takes priority. Furthermore, the &lt;code&gt;--defaults-file&lt;/code&gt; parameter can also override all configurations. Keep things simple and have only one file and place it the directory that makes sense to you.&lt;/p&gt;
&lt;p&gt;Before editing the &lt;code&gt;my.cnf&lt;/code&gt;, first log in to MySQL with an administrator user and run the &lt;code&gt;SELECT @@GLOBAL.sql_mode&lt;/code&gt; query to see the values used in your setup.&lt;/p&gt;

&lt;figure class="wp-block-image size-full"&gt;&lt;img src="https://migratecontent.com/images/drupal-to-wordpress-mysql-select-global-sql_mode.jpg" alt="Setting the MySQL database server sql mode on Ubuntu for Drupal to WordPress migrations" class="wp-image-3705"&gt;&lt;br&gt;
&lt;figcaption class="wp-element-caption"&gt;&lt;em&gt;Running the &lt;code&gt;SELECT @@GLOBAL.sql_mode&lt;/code&gt; query on MySQL Workbench&lt;/em&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;Next, open the configuration file, look for the section &lt;code&gt;[mysqld]&lt;/code&gt; and edit the line starting with:&lt;br&gt;&lt;code&gt;sql_mode = ...&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Add the line if it's not there. Adjust the exact modes to match your project's needs so take a look at the &lt;a href="https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html#sql-mode-full" target="_blank" rel="noreferrer noopener"&gt;list of SQL modes&lt;/a&gt; to see which may apply. I've found the following works well:&lt;br&gt;&lt;code&gt;sql_mode = "STRICT_TRANS_TABLES,ALLOW_INVALID_DATES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Finally, restart the MySQL server. On Ubuntu this will probably be with&lt;/p&gt;
&lt;p&gt;&lt;code&gt;sudo systemctl start mysql&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If you are logged in to the MySQL server, you may also need to disconnect your client and reconnect for the changes to take effect for your session.&lt;/p&gt;

&lt;h2 id="potential-errors"&gt;Potential errors&lt;/h2&gt;
&lt;p&gt;Here are some potential errors that you may come across during a CMS migration project. I usually find them when running a Drupal to WordPress migration on a freshly built development environment.&lt;/p&gt;
&lt;h3 id="mysqldump-access-denied-when-trying-to-dump-tablespaces"&gt;mysqldump access denied when trying to dump tablespaces&lt;/h3&gt;
&lt;p&gt;Migrations involve dumping and importing databases and this process is straightforward on a mature development environment. However you may receive an 'Access denied' error out of the blue when dumping your MySQL database:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If you see this, perhaps you were working on an environment that was a little too 'mature' (in other words, obsolete!) and you have recently upgraded your installation. The updates for MySQL 5.7.31 and MySQL 8.0.21 in July 2020 introduced an incompatible change that produces this error.&lt;/p&gt;
&lt;p&gt;The fix involves granting the PROCESS privilege to the user running mysqldump, or using the &lt;code&gt;--no-tablespaces&lt;/code&gt; flag.&lt;/p&gt;
&lt;h3 id="ERROR-1067-42000-Invalid-default-value"&gt;ERROR 1067 (42000) Invalid default value&lt;/h3&gt;
&lt;p&gt;Drupal nodes store the date as a Unix timestamp in an &lt;code&gt;int&lt;/code&gt; (e.g. &lt;code&gt;1623427200&lt;/code&gt;) field whereas WordPress stores dates as &lt;code&gt;&lt;a href="https://dev.mysql.com/doc/refman/8.0/en/datetime.html" target="_blank" rel="noreferrer noopener nofollow"&gt;datetime&lt;/a&gt;&lt;/code&gt; (e.g. &lt;code&gt;2021-06-11 16:00:00&lt;/code&gt;). There may be a conversion error in your migration script or the source date could simply be zero for some reason. Normally your MySQL server mode will be set to &lt;code&gt;NO_ZERO_DATE, NO_ZERO_IN_DATE&lt;/code&gt; so trying to insert a zero date will give you the error:&lt;/p&gt;
&lt;pre class="wp-block-preformatted"&gt;&lt;code&gt;ERROR 1067 (42000) Invalid default value&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can fix this by replacing &lt;code&gt;NO_ZERO_DATE, NO_ZERO_IN_DATE&lt;/code&gt;  with set to &lt;code&gt;ALLOW_INVALID_DATES&lt;/code&gt; in your global SQL mode.&lt;/p&gt;

&lt;h3 id="Expression-1-of-SELECT-list-is-not-in-GROUP-BY-clause"&gt;Expression #1 of SELECT list is not in GROUP BY clause&lt;/h3&gt;
&lt;p&gt;You run an SQL query and get the rather cryptic error:&lt;/p&gt;
&lt;pre class="wp-block-preformatted"&gt;Expression #1 of SELECT list is not in GROUP BY clause and contains
nonaggregated column 'database.table.pid' which is not functionally dependent
on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by&lt;/pre&gt;
&lt;p&gt;What's wrong? MySQL has a &lt;code&gt;only_full_group_by&lt;/code&gt; mode which, when enabled, strictly applies ANSI SQL rules when using &lt;code&gt;GROUP BY&lt;/code&gt;. Fix this by reworking your script or removing the &lt;code&gt;ONLY_FULL_GROUP_BY&lt;/code&gt; SQL mode.&lt;/p&gt;

&lt;h3 id="Error-Code-2013-Lost-connection-to-MySQL-server"&gt;Error Code: 2013. Lost connection to MySQL server&lt;/h3&gt;
&lt;p&gt;This often happens when an SQL query takes too long to return data. The connection between your MySQL client and database server times out so the connection gets dropped. You can try increasing the &lt;code&gt;net_read_timeout&lt;/code&gt; and &lt;code&gt;net_write_timeout&lt;/code&gt; values in your MySQL configuration, or optimising the query itself.&lt;/p&gt;

&lt;h2 id="conclusion"&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;Setting up a MySQL database server for Drupal or WordPress is a familiar task for web developers and site administrators.  However, CMS migrations have quirks that can cause obscure and baffling errors. In this guide I've shown you some little tricks that may save time and annoyance. While there's no way to provide an exhaustive list of solutions to all the MySQL problems you'll encounter, I hope to have pointed you in the right direction.&lt;/p&gt;
&lt;p&gt;If you have a site migration project and would like to hire me, please &lt;a href="https://migratecontent.com/contact/"&gt;ask for a quote&lt;/a&gt; for my consulting service.&lt;/p&gt;

&lt;div class="footnotes"&gt;
    &lt;p&gt;Cover photo by &lt;a href="https://unsplash.com/@rubaitulazad?utm_content=creditCopyText&amp;amp;utm_medium=referral&amp;amp;utm_source=unsplash"&gt;Rubaitul Azad&lt;/a&gt; on &lt;a href="https://unsplash.com/photos/text-Y9kOsyoWyaU?utm_content=creditCopyText&amp;amp;utm_medium=referral&amp;amp;utm_source=unsplash" target="_blank" rel="nofollow"&gt;Unsplash&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;


&lt;section class="breakout-white"&gt;
&lt;div class="breakout-inner text-center"&gt;

&lt;h2&gt;Need Help Setting Up Your Migration Environment?&lt;/h2&gt;

&lt;p&gt;I specialise in complex Drupal to WordPress migrations, including database configuration, custom SQL scripts, and troubleshooting tricky migration errors. Get a free, no-obligation consultation.&lt;/p&gt;

&lt;div class="button-container" style="margin:2em 0;"&gt;
&lt;a class="cta-button" href="https://migratecontent.com/contact/" title="Get a quote for your Drupal to WordPress migration"&gt;Get a Free Quote&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;/section&gt;</description><category>database</category><category>drupal</category><category>migration</category><category>mysql</category><category>wordpress</category><guid>https://migratecontent.com/how-to-set-up-mysql-for-drupal-wordpress-migrations/</guid><pubDate>Fri, 11 Jun 2021 15:44:52 GMT</pubDate></item><item><title>Ubercart to WooCommerce migration notes</title><link>https://migratecontent.com/ubercart-to-woocommerce-migration/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>&lt;p&gt;I've now had several Ubercart to WooCommerce migration projects so it's time to start documenting the process. As with all my documentation, I'll start off this post as rough notes and improve it over time. If this topic interests you, be sure to check back every so often to see the updates. Please keep in mind that I'm writing this from the standpoint of &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-guide/" title="Drupal to WordPress Migration Guide"&gt;Drupal to WordPress migrations&lt;/a&gt;. In other words, the main objective for the projects were to migrate a Drupal site to WordPress but there was also an Ubercart to WooCommerce component.&lt;/p&gt;

&lt;h2&gt;Key differences between Ubercart and WooCommerce&lt;/h2&gt;

&lt;p&gt;There's one key difference between Ubercart and WooCommerce from an architectural point-of-view. Ubercart stores products as nodes and orders are stored in a separate table &lt;code&gt;uc_orders&lt;/code&gt;. Orders have an &lt;code&gt;order_id&lt;/code&gt; and there's no direct relationship in &lt;code&gt;uc_orders&lt;/code&gt; to a product's node ID. Instead, the &lt;code&gt;uc_order_products&lt;/code&gt; table stores the relationship between orders and products purchased with the order.&lt;/p&gt;

&lt;p&gt;WooCommerce stores both products and order transactions as posts in the &lt;code&gt;wp_posts&lt;/code&gt; table. The post ID is used as the order's transaction ID. Products purchased with the order are stored in &lt;code&gt;wp_woocommerce_order_items&lt;/code&gt;, with additional product metadata being strored in &lt;code&gt;wp_woocommerce_order_itemmeta&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Obviously there are many more differences but this information architecture is the key thing to keep in mind when migrating the data.&lt;/p&gt;

&lt;img style="margin:10px 0 10px 0" src="https://migratecontent.com/images/ubercart-woocommerce-01.png" alt="Ubercart to WooCommerce table mapping" width="481" height="155" class="aligncenter size-full wp-image-3069"&gt;

&lt;h2&gt;Database tables&lt;/h2&gt;

&lt;p&gt;Here are the main database tables that you'll need to migrate Ubercart content to WooCommerce.&lt;/p&gt;

&lt;h3&gt;Ubercart&lt;/h3&gt;

&lt;table width="100%" class="table-bordered" style="padding:5px"&gt;
&lt;caption&gt;Table: Drupal Ubercart tables&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th width="50%"&gt;Table&lt;/th&gt;
&lt;th width="50%"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class="odd row-first"&gt;
&lt;td&gt;node&lt;/td&gt;
&lt;td&gt;Products are stored in the Drupal &lt;code&gt;node&lt;/code&gt; table.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td&gt;uc_orders&lt;/td&gt;
&lt;td&gt;Stores the individual Ubercart transactions.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="odd"&gt;
&lt;td&gt;uc_order_products&lt;/td&gt;
&lt;td&gt;Stores the products purchased during the transaction.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td&gt;uc_order_line_items&lt;/td&gt;
&lt;td&gt;Line items for an order. This includes tax and shipping fees applied to an order.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="odd"&gt;
&lt;td&gt;uc_order_comments&lt;/td&gt;
&lt;td&gt;Customer or administrator notes associated with each order.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td&gt;uc_order_log&lt;/td&gt;
&lt;td&gt;Comments about the order status by the shop administrator.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="odd"&gt;
&lt;td&gt;uc_zone&lt;/td&gt;
&lt;td&gt;Country zone codes for customer billing and delivery.&lt;/td&gt;
&lt;/tr&gt;&lt;tr class="even"&gt;
&lt;td&gt;uc_countries&lt;/td&gt;
&lt;td&gt;Countries and zone codes in ISO 3166-1 Alpha-2 and Alpha-3 code format for customer billing and delivery.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;



&lt;h3&gt;WooCommerce&lt;/h3&gt;

&lt;table width="100%" class="table-bordered"&gt;
&lt;caption&gt;Table: WordPress WooCommerce tables&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th width="50%"&gt;Table&lt;/th&gt;
&lt;th width="50%"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class="odd row-first"&gt;
&lt;td&gt;wp_posts&lt;/td&gt;
&lt;td&gt;Stores products and transactions.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td&gt;wp_postmeta&lt;/td&gt;
&lt;td&gt;Transaction meta data.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="odd"&gt;
&lt;td&gt;wp_woocommerce_order_items&lt;/td&gt;
&lt;td&gt;Stores the line items for a transaction in the &lt;code&gt;wp_posts&lt;/code&gt; table.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td&gt;wp_woocommerce_order_itemmeta&lt;/td&gt;
&lt;td&gt;Stores the meta data for line items, such as quantity, price and tax information.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="odd"&gt;
&lt;td&gt;wp_comments&lt;/td&gt;
&lt;td&gt;Order notes.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Order transactions and products are saved as WordPress posts. One or many order item meta entries can be linked to an order.&lt;/p&gt;

&lt;h2&gt;WooCommerce shop orders&lt;/h2&gt;

A WooCommerce transaction is saved as a shop order in the &lt;code&gt;wp_posts&lt;/code&gt; table.

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;post_status = wc_completed&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;post_type = shop_order&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;WooCommerce subscriptions&lt;/h2&gt;

&lt;p&gt;WooCommerce subscriptions are saved in &lt;code&gt;wp_posts&lt;/code&gt;. A subscription is made up of two entries:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The transaction order for a subscription.&lt;/li&gt;
&lt;li&gt;The subscription itself.&lt;/li&gt;
&lt;/ol&gt;


&lt;h3&gt;Subscription transaction order&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;post_status = wc_completed&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;post_parent = 0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;post_type = shop_order&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;The subscription&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;post_status = wc_active&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;post_parent = [post ID to the transaction shop order]&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;post_type = shop_subscription&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!--
When adding a subscription order's product data to the &lt;code&gt;post_type=shop_subscription&lt;/code&gt; it's important to attach products to the &lt;code&gt;shop_subscription&lt;/code&gt; ID not the &lt;code&gt;shop_order&lt;/code&gt; ID, otherwise the subscription title will not be displayed in the user's &lt;em&gt;My Account&lt;/em&gt; page.
--&gt;
&lt;h2&gt;Products&lt;/h2&gt;

Purchased products are saved as line items in the &lt;code&gt;wp_woocommerce_order_items&lt;/code&gt; and &lt;code&gt;wp_woocommerce_order_itemmeta&lt;/code&gt; tables.

&lt;p&gt;A WooCommerce product can be of any post type. The product post is linked to a shop order transaction by setting the product's post ID in the &lt;code&gt;wp_woocommerce_order_itemmeta&lt;/code&gt; table:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;meta_key = _product_id&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;meta_value = [post ID to the product]&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;hr style="margin-top:5em"&gt;
&lt;h3 id="notes"&gt;Notes&lt;/h3&gt;

&lt;p&gt;My apologies if you've come here looking for more complete documentation. I've been planning to write this post for more than two years but have been putting it off due to my work schedule. I figure the best way to finally get it done is to just make a start and update it as time allows.&lt;/p&gt;

&lt;p&gt;The most-viewed articles here started off as notes for my own use and evolved over time. This one is no different. Hopefully it will still be of use to some people in its draft state.&lt;/p&gt;

&lt;p&gt;In the meantime, you might want to take a look at these other articles and plugins.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.webtoffee.com/export-woocommerce-orders-import-back-new-website/"&gt;How to Export WooCommerce Orders and Import Them Back into New Website&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://sgwebpartners.com/moving-orders-in-woocommerce/"&gt;How To Migrate WooCommerce Customers and Orders (Like A Pro!)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.skyverge.com/blog/moving-woocommerce-orders-sites/"&gt;Moving WooCommerce Orders Between Sites&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://woocommerce.com/products/ordercustomer-csv-export/#"&gt;WooCommerce Customer / Order / Coupon Export&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wordpress.org/plugins/woocommerce-sequential-order-numbers/"&gt;WooCommerce Sequential Order Numbers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://woocommerce.com/products/customerorder-csv-import-suite/#"&gt;Customer/Order/Coupon CSV Import Suite&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><category>drupal</category><category>ecommerce</category><category>migration</category><category>ubercart</category><category>woocommerce</category><category>wordpress</category><guid>https://migratecontent.com/ubercart-to-woocommerce-migration/</guid><pubDate>Fri, 24 Jan 2020 12:14:07 GMT</pubDate></item><item><title>How We Migrate: The Technical Process Behind a Drupal to WordPress Migration</title><link>https://migratecontent.com/how-we-migrate-technical-process/</link><dc:creator>Aiden</dc:creator><description>&lt;p class="intro"&gt;Every Drupal site is different. Custom content types, unique field configurations, contributed modules with their own database tables, and years of accumulated content that doesn't fit neatly into any template. This is why I don't use off-the-shelf migration tools. Instead, I write custom scripts tailored to each site's specific data model, and run the migration iteratively until the output is clean.&lt;/p&gt;

&lt;h2&gt;Why Custom Scripts, Not Plugins&lt;/h2&gt;

&lt;p&gt;Automated migration tools like FG Drupal to WordPress work by mapping Drupal's core database tables to their WordPress equivalents. For a basic site with standard posts and pages, this can work. However, most Drupal sites that need professional migration have outgrown standard content types.&lt;/p&gt;

&lt;p&gt;Custom content types, field collections, entity references, paragraphs modules, and bespoke database tables. These are the structures that make Drupal powerful and that make automated migration unreliable. My approach works directly against the databases, with scripts that understand your site's specific data relationships.&lt;/p&gt;

&lt;h2&gt;Phase 1: Content Audit and Mapping&lt;/h2&gt;

&lt;p&gt;Before writing any migration code, I need to understand your Drupal site's data model in detail. This means mapping every content type, field, taxonomy vocabulary, and relationship in your database.&lt;/p&gt;

&lt;h3&gt;What the Audit Covers&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Content types and their fields.&lt;/strong&gt; Every node type and its associated field definitions: text, image, file, entity reference, date, address, and any custom field types.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Taxonomy vocabularies.&lt;/strong&gt; The vocabulary structure, term hierarchies, and how terms relate to content.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;User roles and permissions.&lt;/strong&gt; Which roles exist, what they can access, and how they map to WordPress capabilities.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Media and files.&lt;/strong&gt; How files are referenced, where they're stored (public vs private filesystem), and any image style derivatives that need handling.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Custom modules and tables.&lt;/strong&gt; Bespoke functionality that stores data outside Drupal's standard schema.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The output is a mapping document that pairs each Drupal data structure with its WordPress equivalent. This document drives every subsequent decision.&lt;/p&gt;

&lt;h2&gt;Phase 2: Database Mapping&lt;/h2&gt;

&lt;p&gt;Drupal and WordPress store content in fundamentally different database architectures. Understanding these differences is essential to writing reliable migration scripts.&lt;/p&gt;

&lt;h3&gt;Core Table Mapping&lt;/h3&gt;

&lt;p&gt;At the most basic level, Drupal's &lt;code&gt;node&lt;/code&gt; table maps to WordPress's &lt;code&gt;wp_posts&lt;/code&gt;. Node IDs become post IDs, creation timestamps convert to WordPress date format, and the node status field translates to WordPress publish states. Content bodies come from a separate revisions table in Drupal and need joining before insertion.&lt;/p&gt;

&lt;h3&gt;Taxonomy Mapping&lt;/h3&gt;

&lt;p&gt;Drupal's &lt;code&gt;term_data&lt;/code&gt; (Drupal 7) and vocabulary tables map to WordPress's &lt;code&gt;wp_terms&lt;/code&gt; and &lt;code&gt;wp_term_taxonomy&lt;/code&gt;. The relationship tables that connect content to terms require their own mapping. Drupal allows multiple vocabularies with custom fields. WordPress uses categories, tags, and custom taxonomies, each with different behaviour.&lt;/p&gt;

&lt;h3&gt;Custom Fields&lt;/h3&gt;

&lt;p&gt;This is where the complexity lives. Drupal stores custom field data across multiple tables, typically one table per field, with separate columns for each property (value, format, language). WordPress stores custom fields as key-value pairs in &lt;code&gt;wp_postmeta&lt;/code&gt;, or in structured formats if using Advanced Custom Fields or similar plugins.&lt;/p&gt;

&lt;p&gt;Each custom field needs individual mapping logic. A Drupal entity reference field that links to another node might become a WordPress post relationship managed by ACF, or a simple post meta value, or a custom taxonomy, depending on how the relationship is used in the front end.&lt;/p&gt;

&lt;h2&gt;Phase 3: Migration Scripts&lt;/h2&gt;

&lt;p&gt;With the mapping document complete, I write custom scripts (typically a combination of SQL and PHP) that handle the actual data transfer. The scripts work against a copy of your production database, never against the live site.&lt;/p&gt;

&lt;p&gt;Key considerations in the scripting phase:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Data type conversions.&lt;/strong&gt; Drupal stores timestamps as Unix integers; WordPress uses &lt;code&gt;DATETIME&lt;/code&gt; strings. Status values, user roles, and content types all need transformation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Character encoding.&lt;/strong&gt; Drupal and WordPress may use different encoding for special characters, accented text, and HTML entities. The scripts handle normalisation to prevent garbled content.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Relationship integrity.&lt;/strong&gt; Content-to-taxonomy, content-to-author, and content-to-content relationships must transfer as a connected dataset. Migrating entities in isolation breaks these links.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Media file handling.&lt;/strong&gt; File references in the database need updating to point to WordPress's upload directory structure. Physical files are copied separately via rsync or similar tools.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Phase 4: Iterative Testing&lt;/h2&gt;

&lt;p&gt;This is the phase that separates professional migration from a best-effort attempt. I run the migration scripts repeatedly (typically 5 to 20 cycles per project), with each iteration refining the output.&lt;/p&gt;

&lt;h3&gt;What Each Test Cycle Checks&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Data completeness.&lt;/strong&gt; Did every piece of content come across? Are any fields missing or truncated?&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Relationship integrity.&lt;/strong&gt; Are taxonomy terms correctly assigned? Do author attributions match? Are related content links valid?&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Visual accuracy.&lt;/strong&gt; Does the content render correctly in the WordPress theme? Are images displaying, embeds working, and formatting intact?&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Edge cases.&lt;/strong&gt; Content with unusual characters, extremely long fields, empty values, or draft states. These are the entries that break on the first pass and get fixed in subsequent cycles.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each cycle produces a test report documenting what was fixed and what needs attention in the next run. The site owner reviews key content at each stage to confirm accuracy.&lt;/p&gt;

&lt;h2&gt;Phase 5: URL Mapping and Redirects&lt;/h2&gt;

&lt;p&gt;Once the content migration is stable, I build the redirect map. Every Drupal URL alias is paired with its new WordPress URL, and 301 redirects are configured at the server level.&lt;/p&gt;

&lt;p&gt;This phase works in parallel with the SEO preservation strategy. For sites with significant organic traffic, I audit the URL list against analytics data to prioritise the pages that matter most. The redirect rules are tested before launch to ensure no high-value URLs return 404 errors.&lt;/p&gt;

&lt;h2&gt;Phase 6: Zero-Downtime Launch&lt;/h2&gt;

&lt;p&gt;For business-critical sites, downtime during migration isn't acceptable. The launch process uses a staged approach:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Build on staging.&lt;/strong&gt; The WordPress site is built and populated on a staging server, with all test cycles completed there.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Final delta migration.&lt;/strong&gt; A last-pass script migrates any content created or updated since the previous full migration.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DNS cutover.&lt;/strong&gt; DNS records are updated to point to the new WordPress server. The old Drupal site remains available as a fallback until the transition is verified.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Post-launch verification.&lt;/strong&gt; Content spot-checks, redirect testing, analytics confirmation, and search console monitoring in the first 48 hours.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The total migration timeline typically runs 4 to 12 weeks, depending on the complexity of the content model, the volume of data, and the number of test cycles needed to achieve clean output.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Related reading:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/why-automated-migration-tools-fail/"&gt;Why Automated Migration Tools Fail for Complex Drupal Sites&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/preserving-seo-drupal-wordpress-migration/"&gt;Preserving Your SEO During a Drupal to WordPress Migration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/content-migration-process/"&gt;How the migration process works&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;section class="breakout-white"&gt;
&lt;div class="breakout-inner text-center"&gt;

&lt;h2&gt;Want to Understand What Your Migration Involves?&lt;/h2&gt;

&lt;p&gt;I provide a detailed content audit and migration plan before any work begins. Get a free consultation to discuss your Drupal site's technical requirements.&lt;/p&gt;

&lt;div class="button-container" style="margin:2em 0;"&gt;
&lt;a class="cta-button" href="https://migratecontent.com/contact/" title="Get a quote for your Drupal to WordPress migration"&gt;Get a Free Quote&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;/section&gt;</description><category>database</category><category>drupal</category><category>migration</category><category>technical</category><category>wordpress</category><guid>https://migratecontent.com/how-we-migrate-technical-process/</guid><pubDate>Wed, 20 Mar 2019 09:00:00 GMT</pubDate></item><item><title>Why is Drupal the second most dreaded platform?</title><link>https://migratecontent.com/drupal-the-dreaded-cms/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>&lt;p&gt;According to the Drupal Shell site, &lt;a href="https://drupal.sh/drupal-hated-sharepoint-platform-stack-overflow"&gt;Drupal is the second most hated CMS platform&lt;/a&gt;. I think this sounds a little harsh. Digging into the &lt;a href="https://insights.stackoverflow.com/survey/2018/#most-loved-dreaded-and-wanted"&gt;source survey on stackoverflow&lt;/a&gt;, we find that it's actually listed as the second most &lt;em&gt;dreaded&lt;/em&gt; platform. While perhaps more even-handed, I'm still not at all surprised as a large chunk of my business is made up of people &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-service/" title="Drupal to WordPress migration service"&gt;migrating from Drupal to WordPress&lt;/a&gt;. To be fair, WordPress fans don't have much to cheer. Their platform of choice appears as number three of the Content Management Platforms (CMS) listed in the poll. Still, Drupal had (has!) a loyal following so why does it draw out such a reaction from respondents?&lt;/p&gt;

&lt;figure class="figure d-flex flex-column align-items-center"&gt;
    &lt;img class="figure-img img-fluid rounded" src="https://migratecontent.com/images/dreaded-drupal-can-of-worms.png" title="The dreaded Drupal can of worms - Photo by Bill Craighead on Unsplash" alt="The dreaded Drupal can of worms" width="800" height="444"&gt;
&lt;/figure&gt;

&lt;h2&gt;First-mover advantage&lt;/h2&gt;
&lt;p&gt;Let's take a quick look at the history of the major CMS platforms currently in use. Drupal was, in the first decade of the 2000s, arguably the top CMS for building websites. It had first-mover advantage, having launched as an open source project in 2001 - years before its contemporary competitors. Drupal 4 was released in mid-2002 and started appearing on most developers' radar by around 2004-2005. Its only real competitor was Movable Type which offered simple blogging capability. WordPress was at version 1 in 2004 and was then also more of a blogging tool than a CMS. Magento and Joomla would come around quite a few years later, launching in 2007 and 2009 respectively.&lt;/p&gt;
&lt;table width="50%" class="table-striped"&gt;
&lt;caption&gt;CMS version 1 release timeline&lt;/caption&gt;
&lt;tbody&gt;
&lt;tr class="odd row-first"&gt;
&lt;td style="vertical-align:center;font-weight:bold;font-style: italic;width:20%;white-space:nowrap;"&gt;2001&lt;/td&gt;
&lt;td style="vertical-align:center;font-weight:bold;font-style: italic;width:10%;white-space:nowrap;"&gt;→&lt;/td&gt;
&lt;td style="width:75%;white-space:nowrap;"&gt;Drupal&lt;br&gt;
Movable Type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td style="font-weight:bold;font-style: italic;"&gt;2004&lt;/td&gt;
&lt;td style="font-weight:bold;font-style: italic;"&gt;→&lt;/td&gt;
&lt;td&gt;WordPress&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="odd"&gt;
&lt;td style="font-weight:bold;font-style: italic;"&gt;2007&lt;/td&gt;
&lt;td style="font-weight:bold;font-style: italic;"&gt;→&lt;/td&gt;
&lt;td&gt;Magento&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td style="font-weight:bold;font-style: italic;"&gt;2009&lt;/td&gt;
&lt;td style="font-weight:bold;font-style: italic;"&gt;→&lt;/td&gt;
&lt;td&gt;Joomla&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;A legacy of custom website generators&lt;/h2&gt;
&lt;p&gt;I remember my first foray into Drupal development in 2003. A freelancer colleague kept raving about how great it was and that I should give it a try. (Incidentally, he subsequently became very active in the Drupal community and ended up having his theme bundled in with core.) At that time, I'd been hand-coding websites and building custom 'site generators'. CMS platforms hadn't taken off so people were coming up with their own solutions for managing site content.&lt;/p&gt;
&lt;p&gt;For example, I worked with a top-tier mobile operator in the early 2000s. They asked me to build a web-based knowledge management system that stored content in Microsoft Access and used VBA to publish static HTML. One leading market intelligence agency I worked with at the end of the 1990s had an online customer database. It delivered web pages using Apache modules. We had to code in C++ and query a flat file database to deliver new functionality. That was fun. Imagine having to deal with memory allocation just to output a web page. Just like coding on stone tablets, right?&lt;/p&gt;
&lt;p&gt;When PHP appeared on the scene, it rapidly became the preferred way to deliver dynamic web content. PHP simplified web development but people still had to cobble together their own site generators. You'd need to write your own authentication system and all the other things we now take for granted. Developing for the web became easier but you still had to jump through lots of hoops before getting to the interesting work.&lt;/p&gt;
&lt;p&gt;It's not difficult to see why, shortly after release, Drupal captured the entire range of the market: hobby sites; small businesses; small and large charities; multi-nationals. They all adopted Drupal because it so quick and easy to deliver complex features.&lt;/p&gt;
&lt;h2&gt;Features for free&lt;/h2&gt;
&lt;p&gt;Eventually, my colleague's insistence overcame my resistance to learning new technology. I found that Drupal, in comparison to hand-coding from scratch, was an absolute dream. I could now build feature-rich websites with login functionality, &lt;a href="https://en.wikipedia.org/wiki/Create,_read,_update_and_delete" title="CRUD: create, read, update, and delete"&gt;CRUD&lt;/a&gt; and custom layouts in maybe one-fifth of the time and cost. Like my colleague, &lt;em&gt;I&lt;/em&gt; started raving about Drupal and began recommending it to clients and colleagues.&lt;/p&gt;
&lt;p&gt;Drupal was, without any doubt, the most powerful website development platform available. Nothing else in the open-source market could touch it. It was also &lt;em&gt;fun&lt;/em&gt; building websites with Drupal. You could get instant gratification by installing and playing with the many available modules. Every developer facing a deadline and budget loves &lt;em&gt;Features for Free&lt;/em&gt; when the alternative is hours of coding and debugging. &lt;em&gt;Features for Free&lt;/em&gt; is fantastic...unless you have to maintain all those features. More on this later.&lt;/p&gt;
&lt;p&gt;Similarly, site owners - who often don't care that much about the technology - loved that their developer could deliver a widgety-thingamajig-feature at a reasonable price. They'd request some functionality and the developer would say, &lt;em&gt;"Yeah, we can do that with Views." "Yeah, there's a module for that, no problem." "Oh, no module for that but we can build one without a huge site overhaul."&lt;/em&gt; It was great until, well...&lt;/p&gt;
&lt;h2&gt;The Drupal can of worms&lt;/h2&gt;
&lt;p&gt;Well, fast-forward to 2018 and nearly every Drupal site I encounter is a huge can of worms. Those great &lt;em&gt;Features for Free&lt;/em&gt; aren't so great when the modules have been abandoned. They're not great when, years after installation, no-one remembers which module controls what and how everything ties together. Sure, documentation and well-commented source code commits are best practice. Perhaps enterprises can afford to maintain a stable of diligent developers. But many sites are cobbled together on a legacy of little to no budget and a revolving door of low-cost developers with varying skills.&lt;/p&gt;
&lt;p&gt;Over time, each person adds their own hacks and disappears. No-one willingly runs updates and upgrades because who enjoys having a nervous breakdown? Run an update and risk a WSOD. Spend hours tracking down some obscure, unsupported and misbehaving module that's absolutely crucial to the way &lt;em&gt;this particular site&lt;/em&gt; works...for free? No thanks!&lt;/p&gt;
&lt;p&gt;Fully-documented sites and well-specified upgrades is the industry ideal. However, real-life tends to go something like this:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;Site owner:&lt;/strong&gt; Hey, remember that site you built for me a couple of years ago? I'd like to...&lt;br&gt;
&lt;strong&gt;Developer:&lt;/strong&gt; mumble...mumble...upgrade to Drupal 5...mumble...[PRICE]....&lt;br&gt;
&lt;strong&gt;Site owner:&lt;/strong&gt; Hmmm, I'm good for now...kthxsbye...&lt;br&gt;
&lt;strong&gt;&lt;br&gt;
A couple of years later...&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Site owner:&lt;/strong&gt; Hey, this guy built a site for me. I'd like to...&lt;br&gt;
&lt;strong&gt;Developer:&lt;/strong&gt; mumble...mumble...upgrade to Drupal 6...mumble...[PRICE]....&lt;br&gt;
&lt;strong&gt;Site owner:&lt;/strong&gt; [PRICE]???!!! kthxsbye...&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A couple of years later...&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Site owner:&lt;/strong&gt; Hey, I have this site...&lt;br&gt;
&lt;strong&gt;Developer:&lt;/strong&gt; Erm...Drupal 7...rebuild the site...&lt;br&gt;
&lt;strong&gt;Site owner:&lt;/strong&gt; What???!!! kthxsbye...&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A couple of years later...&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Developer:&lt;/strong&gt; Oh, how many thousands of monies did you say is burning a hole in your pocket? Because, you know, Drupal 8...&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2&gt;Upgrades and backward compatibility&lt;/h2&gt;
&lt;p&gt;Of course, poorly documented, buggy and abandoned add-ons are all too common in the WordPress world. The big difference is &lt;em&gt;backward compatibility&lt;/em&gt;. WordPress has been great with ensuring problem-free updates: you see core, plugin or theme updates available; you click &lt;em&gt;Update Now&lt;/em&gt;; a few seconds (or minutes at most) later you're done. You can move on with your day and not give it another thought.&lt;/p&gt;
&lt;p&gt;In contrast, updating Drupal can &lt;em&gt;ruin your day&lt;/em&gt;. (Or night if you're scheduling the work during off-peak hours.) Drupal updates can go horribly wrong. During the pre-Drupal 8 days, it wasn't unusual to spend hours of site rebuilding after one of the module updates crashed the site. Which module? Well, you'd have some trial-and-error testing on a series of modules, one-by-one, until you find the culprit. Updating Drupal is often a &lt;em&gt;dreadful&lt;/em&gt; experience.&lt;/p&gt;
&lt;p&gt;Sensible developers test updates on a development server first, then get the site owner to test on staging before rolling out to live. This is best-practice. Everyone should be following this workflow regardless of the platform. Yes, if there's money for it. This effort comes at a price and many, if not the majority, of smaller businesses, not-for-profits and hobby sites just don't have the cash. People have found that WordPress lets them cheat the recommended workflow. If they see updates they just go ahead and do it live because there are rarely any problems.&lt;/p&gt;
&lt;p&gt;Core upgrades for major Drupal versions are another level of pain for the site owner. Drupal 6, 7 and 8 are all so different in architecture from previous releases that upgrading essentially means re-building the site from scratch. This is too much to expect for many. No wonder site owners would rather hobble along with their outdated and duct-taped CMS.&lt;/p&gt;
&lt;h2&gt;The dread&lt;/h2&gt;
&lt;p&gt;Keeping Drupal up-to-date is expensive for the owner and time-consuming for the developer. Site owners dread to think about the fees. Maintainers dread jumping through hoops just to run simple module updates. Newly hired developers dread what they might find when they peek under the hood.&lt;/p&gt;
&lt;p&gt;I started Another Cup of Coffee as a Drupal development shop because it allowed us to offer powerful functionality at a reasonable price. Years later, although I'm no longer in the business of building Drupal sites, I do remember the feeling of dread when time came to tinker with a mature installation. I have every sympathy for those who list Drupal as their second most dreaded platform. It seems that everyone feels The Drupal Dread. Unless of course, they make lots of money from Drupal support.&lt;/p&gt;

&lt;div class="footnotes"&gt;
Photo by &lt;a href="https://unsplash.com/photos/IpJ5j4ox9BE?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText" target="_blank" rel="nofollow"&gt;Bill Craighead&lt;/a&gt; on &lt;a href="https://unsplash.com/search/photos/worms?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Related reading:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-7-end-of-life-migration-options/"&gt;Drupal 7 End of Life: Your Migration Options in 2026&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/why-automated-migration-tools-fail/"&gt;Why Automated Migration Tools Fail for Complex Drupal Sites&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-we-migrate-technical-process/"&gt;How We Migrate: The Technical Process Behind a Drupal to WordPress Migration&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;section class="breakout-white"&gt;
&lt;div class="breakout-inner text-center"&gt;

&lt;h2&gt;Ready to Leave Drupal Behind?&lt;/h2&gt;

&lt;p&gt;I specialise in complex Drupal to WordPress migrations, including e-commerce, custom content types, and business-critical sites that need zero-downtime launches. Get a free, no-obligation consultation to discuss your options.&lt;/p&gt;

&lt;div class="button-container" style="margin:2em 0;"&gt;
&lt;a class="cta-button" href="https://migratecontent.com/contact/" title="Get a quote for your Drupal to WordPress migration"&gt;Get a Free Quote&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;/section&gt;</description><category>drupal</category><category>migration</category><category>wordpress</category><guid>https://migratecontent.com/drupal-the-dreaded-cms/</guid><pubDate>Sun, 18 Mar 2018 13:29:15 GMT</pubDate></item><item><title>Why Automated Migration Tools Fail for Complex Drupal Sites</title><link>https://migratecontent.com/why-automated-migration-tools-fail/</link><dc:creator>Aiden</dc:creator><description>&lt;p class="intro"&gt;Automated migration tools promise a straightforward path from Drupal to WordPress: install a plugin, point it at your database, and watch your content appear. For a simple blog with standard posts and pages, they might even deliver. However, for sites with custom content types, complex field relationships, e-commerce data, or meaningful SEO requirements, these tools consistently fall short. Here's why.&lt;/p&gt;

&lt;h2&gt;What Automated Tools Actually Do&lt;/h2&gt;

&lt;p&gt;The most common tools (FG Drupal to WordPress, CMS2CMS, WordHerd) work by mapping Drupal's core database tables to their WordPress equivalents. They handle:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Basic nodes.&lt;/strong&gt; Standard Drupal posts and pages migrate as WordPress posts and pages.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Taxonomy terms.&lt;/strong&gt; Drupal vocabularies map to WordPress categories or tags.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Users.&lt;/strong&gt; Basic user accounts transfer with login credentials.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Comments.&lt;/strong&gt; Comment threads attached to nodes migrate to WordPress comments.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Embedded images.&lt;/strong&gt; Images within content bodies are usually downloaded and re-linked.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For these core data types, automated tools are reasonably effective. The problems start when your Drupal site uses anything beyond the default content model.&lt;/p&gt;

&lt;h2&gt;Where They Break Down&lt;/h2&gt;

&lt;h3&gt;Custom Content Types and Fields&lt;/h3&gt;

&lt;p&gt;Drupal's content type system is one of its greatest strengths. It's also the primary reason automated tools fail. A typical business site might have content types for projects, case studies, team members, events, and products, each with dozens of custom fields including entity references, date ranges, address fields, and file attachments.&lt;/p&gt;

&lt;p&gt;Automated tools treat all content as either posts or pages. Custom fields are either ignored entirely or dumped into a single text block.&lt;/p&gt;

&lt;p&gt;Entity reference fields (the relationships connecting a project to a team member, or an event to a venue) are lost. The data arrives in WordPress, but the structure that makes it meaningful doesn't.&lt;/p&gt;

&lt;h3&gt;Complex Taxonomy Structures&lt;/h3&gt;

&lt;p&gt;Drupal supports multiple vocabulary systems with hierarchical terms, custom fields on terms, and cross-references between vocabularies. WordPress offers categories and tags by default, with custom taxonomies available through code or plugins.&lt;/p&gt;

&lt;p&gt;Automated tools typically flatten Drupal's taxonomy system into WordPress categories or tags without preserving hierarchy, term relationships, or custom term fields. For sites where taxonomy drives navigation, filtering, or search functionality, this produces a broken information architecture.&lt;/p&gt;

&lt;h3&gt;Media and File Handling&lt;/h3&gt;

&lt;p&gt;The most common post-migration complaint is duplicate images. Drupal's media system, particularly in Drupal 7 with modules like Media, File Entity, and IMCE, lets a single image serve dozens of content items through file entity references. Automated tools don't understand that reference structure.&lt;/p&gt;

&lt;p&gt;They download and re-upload each instance separately, so a product photo used on ten pages becomes ten copies in the WordPress media library. File metadata, alt text stored at the field level, and image crop configurations are typically lost in the process.&lt;/p&gt;

&lt;h3&gt;E-commerce Data&lt;/h3&gt;

&lt;p&gt;Drupal Commerce stores products, orders, customers, and payment records across interconnected entity types with complex relationships. A single order connects to a customer account, multiple product variations, shipping information, payment transactions, and billing addresses.&lt;/p&gt;

&lt;p&gt;No automated tool handles Drupal Commerce data. The relationship structure is too complex and too specific to each store's configuration. E-commerce migration always requires custom scripting. There's no shortcut.&lt;/p&gt;

&lt;h3&gt;URL Structure and SEO&lt;/h3&gt;

&lt;p&gt;Missing redirects are the most common cause of SEO damage after a platform migration. Drupal's &lt;code&gt;url_alias&lt;/code&gt; system allows multiple URL paths per node, including paths with forward slashes and special characters that WordPress can't replicate in its slug field. Automated tools may import content, but they don't generate the 301 redirect map needed to preserve search rankings. For a site with hundreds or thousands of indexed pages, that gap means losing organic traffic that took years to build.&lt;/p&gt;

&lt;h2&gt;The Real Cost of a Failed Migration&lt;/h2&gt;

&lt;p&gt;The appeal of automated tools is understandable. They're cheap and fast. However, the cost of fixing a failed automated migration often exceeds the cost of doing it properly in the first place.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Data loss.&lt;/strong&gt; Custom fields, relationships, and metadata that weren't migrated can't always be recovered. If the original Drupal site has been decommissioned, that data may be gone permanently.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Broken content.&lt;/strong&gt; Pages that display correctly in Drupal but render as unstructured text blocks in WordPress require manual reconstruction, page by page.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SEO damage.&lt;/strong&gt; Missing redirects cause immediate ranking drops. The longer the gap between launch and redirect implementation, the harder it is to recover lost positions.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lost revenue.&lt;/strong&gt; For e-commerce sites, corrupted product data, broken customer accounts, or lost order history directly impacts business operations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Team time.&lt;/strong&gt; Someone has to fix all of this. The time your team spends cleaning up automated migration output is time not spent on business activities.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;When Custom Scripting Is Necessary&lt;/h2&gt;

&lt;p&gt;If any of the following apply to your site, automated tools won't produce acceptable results:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Custom content types.&lt;/strong&gt; Any content type beyond basic posts and pages with custom field configurations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;E-commerce.&lt;/strong&gt; Drupal Commerce or Ubercart stores of any size.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Complex taxonomy.&lt;/strong&gt; Multiple vocabularies, hierarchical terms, or terms with custom fields.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Large media libraries.&lt;/strong&gt; Thousands of files with structured metadata and multiple references.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SEO-critical sites.&lt;/strong&gt; Any site where organic search drives meaningful business value.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;User accounts.&lt;/strong&gt; Sites with authenticated user features, member areas, or role-based access.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Custom scripting means writing migration code that understands your specific data model: the relationships between content types, the custom field structures, and the business logic that automated tools don't know about. It's more work upfront, but the output is a clean, complete WordPress site rather than a partially migrated dataset that needs weeks of manual cleanup.&lt;/p&gt;

&lt;h2&gt;When Automated Tools Might Work&lt;/h2&gt;

&lt;p&gt;To be fair, automated tools have their place. They can be a reasonable option if:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Your site is simple.&lt;/strong&gt; Standard blog posts, basic pages, and default Drupal fields only.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No custom content types.&lt;/strong&gt; Everything uses Drupal's built-in Article and Basic Page types.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SEO isn't critical.&lt;/strong&gt; You're not reliant on organic search traffic and can absorb a temporary ranking drop.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No e-commerce.&lt;/strong&gt; No product catalogues, order histories, or customer accounts to migrate.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Small media library.&lt;/strong&gt; A manageable number of images that can be manually reviewed after migration.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If this describes your site, an automated tool followed by manual cleanup may be cost-effective. For everything else, custom migration is the reliable path.&lt;/p&gt;

&lt;h2&gt;Making the Right Choice&lt;/h2&gt;

&lt;p&gt;The decision between automated tools and custom migration comes down to risk tolerance. If the data is replaceable and the SEO stakes are low, an automated tool is a reasonable gamble. If the data is business-critical, the relationships between content items matter, or your search rankings drive revenue, custom scripting is the only approach that delivers predictable results.&lt;/p&gt;

&lt;p&gt;I assess every project individually and recommend the approach that fits the site's actual complexity. For simple sites, I'll tell you an automated tool will do the job. For complex ones, I'll explain exactly what custom scripting involves and why it's worth the investment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Related reading:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/migrating-drupal-commerce-to-woocommerce/"&gt;Migrating Drupal Commerce to WooCommerce: What You Need to Know&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-we-migrate-technical-process/"&gt;How We Migrate: The Technical Process Behind a Drupal to WordPress Migration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/preserving-seo-drupal-wordpress-migration/"&gt;Preserving Your SEO During a Drupal to WordPress Migration&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;section class="breakout-white"&gt;
&lt;div class="breakout-inner text-center"&gt;

&lt;h2&gt;Not Sure If Your Site Needs Custom Migration?&lt;/h2&gt;

&lt;p&gt;Send me your site URL and I'll give you an honest assessment: whether automated tools will work for your situation or whether custom scripting is the way to go. No obligation, no sales pitch.&lt;/p&gt;

&lt;div class="button-container" style="margin:2em 0;"&gt;
&lt;a class="cta-button" href="https://migratecontent.com/contact/" title="Get a free migration assessment"&gt;Get a Free Quote&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;/section&gt;</description><category>automated-tools</category><category>drupal</category><category>migration</category><category>wordpress</category><guid>https://migratecontent.com/why-automated-migration-tools-fail/</guid><pubDate>Wed, 11 Oct 2017 09:00:00 GMT</pubDate></item><item><title>Post-migration troubleshooting: Gateway timeout when enabling plugins</title><link>https://migratecontent.com/post-migration-troubleshooting-gateway-timeout-enabling-plugins/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>&lt;p&gt;Here's one that caught me out on a recent Drupal to WordPress migration. As is common with my projects, there were three parties involved: the client, an external development team and myself. The WordPress site was first built on the development team's server, after which it was migrated to my local environment. When everything was ready for beta testing, we moved the site over to the client's staging server on a newly activated account over at &lt;a href="https://kinsta.com/"&gt;Kinsta&lt;/a&gt;. Eventually, we'd move it over to a live server, also hosted on Kinsta.&lt;/p&gt;

&lt;p&gt;&lt;img src="https://migratecontent.com/images/drupal-to-wordpress-migration-team-structure.jpg" title="Drupal to WordPress migration workflow" alt="Diagram of Drupal to WordPress migration workflow for this project" width="600" height="273" class="aligncenter size-full wp-image-1980"&gt;&lt;/p&gt;

&lt;p&gt;After some initial tests on staging, I found that deactivating and reactivating plugins would cause the site to hang and show a &lt;em&gt;'504 Gateway Time-out'&lt;/em&gt; error. This happened when re-enabling some but not all plugins.&lt;/p&gt;

&lt;p&gt;I initially suspected some misconfiguration at the hosting end because there were some hitches with the newly create account. At the outset, the account's server had an issue which Kinsta support needed to fix. For convenience, we'd also made use of Kinsta's free site migration service. This is where they'll migrate an existing WordPress site into their environment. Though it would have been easy enough for me to do, we thought to give it a try. In hindsight, this was a bit of a mistake. The site migration service itself was fine but it did end up causing some confusion. First, a miscommunication in the migration request caused them to create a temporary domain we didn't want. They helpfully solved this by giving us a second temporary domain. However, they'd also upgraded everything to PHP 7 in the process. All of these issues were possible suspects for the time-out error but turned out to be red-herrings.&lt;/p&gt;

&lt;p&gt;It took some time to pinpoint the cause behind the Gateway Time-out error. I do have to say that Kinsta support were very responsive throughout the troubleshooting process. They eventually put a senior engineer on the case who found the problem. It turned out the problem wasn't to do with Kinsta at all. There was a leftover setting from the original development team's server. It was a valid format so didn't cause an issue on either my local server or my staging server. However, it apparently can cause issues with plugins and did on the Kinsta environment.&lt;/p&gt;

&lt;p&gt;What was the setting? The WordPress upload path directory was set to the development team's server path e.g. &lt;code&gt;/home/dev/public_html/sitename&lt;/code&gt;. Throughout the migration, I'd been doing a database search-and-replace looking for their development domain. Somehow, as the site moved from different servers, that server path string remained in the database, only to cause a problem when the site landed in the destination server on Kinsta.&lt;/p&gt;

&lt;p&gt;I'm not sure if there would have been any way to have caught this problem earlier. It's one of those obscure errors that are easy to overlook and take time to resolve. There's also no practical way to do a database search-and-replace for every imaginable string. I'll have to rack this one up to experience. &lt;/p&gt;</description><category>drupal</category><category>help</category><category>migration</category><category>troubleshooting</category><category>wordpress</category><guid>https://migratecontent.com/post-migration-troubleshooting-gateway-timeout-enabling-plugins/</guid><pubDate>Mon, 05 Jun 2017 09:35:07 GMT</pubDate></item><item><title>How to change the WordPress table prefix prior to a migration</title><link>https://migratecontent.com/change-wordpress-table-prefix-prior-migration/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>&lt;p&gt;When working on a &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-service/"&gt;Drupal to WordPress migration&lt;/a&gt; project, I like to migrate into a set of intermediary WordPress tables that live in the Drupal database. These are working tables where I can run various scripts to process and clean up the content before exporting to a working WordPress installation. It's not &lt;em&gt;necessary&lt;/em&gt; to do this but I find it convenient to run scripts on the same database rather than deal with two separate database connections.&lt;/p&gt;


&lt;figure class="figure d-flex flex-column align-items-center"&gt;
    &lt;img src="https://migratecontent.com/images/gavin-allanwood-q92hWEdK8p8-unsplash.jpg" alt="Overhead image of cafe tables" class="figure-img img-fluid rounded" width="800" height="533"&gt;
&lt;/figure&gt;

&lt;p&gt;Note that some people suggest renaming the table prefixes to improve security. My use of the table prefixes is simply to create temporary containers for the migration. While non-standard prefixes might help prevent 'script kiddie' attacks, I find it isn't worth the disadvantages that come with this sort of &lt;a href="https://en.wikipedia.org/wiki/Security_through_obscurity"&gt;security through obscurity&lt;/a&gt; (or more precisely, &lt;a href="https://en.wikipedia.org/wiki/Security_through_obscurity#Security_through_minority"&gt;security through minority&lt;/a&gt;) approach. Here are two articles give a deeper explanation of topic:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;wordfence.com: &lt;a href="https://www.wordfence.com/blog/2016/12/wordpress-table-prefix/"&gt;WordPress Table Prefix: Changing It Does Nothing to Improve Security&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;wpkrauts.com: &lt;a href="https://web.archive.org/web/20150129082218/http://wpkrauts.com/2015/the-database-prefix-is-not-a-security-feature/"&gt;The database table prefix is not a security feature&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;SQL queries to change the WordPress table prefixes&lt;/h2&gt;
&lt;p&gt;You can start with a freshly installed WordPress database. Dumping this and importing to your Drupal migration database will give you all the tables with the correct WordPress schema. I use the &lt;em&gt;acc_&lt;/em&gt; prefix but you can use whatever you want.&lt;/p&gt;
&lt;p&gt;Rename the tables with these queries:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;RENAME table `wp_commentmeta` TO `acc_commentmeta`;
RENAME table `wp_comments` TO `acc_comments`;
RENAME table `wp_links` TO `acc_links`;
RENAME table `wp_options` TO `acc_options`;
RENAME table `wp_postmeta` TO `acc_postmeta`;
RENAME table `wp_posts` TO `acc_posts`;
RENAME table `wp_terms` TO `acc_terms`;
RENAME table `wp_termmeta` TO `acc_termmeta`;
RENAME table `wp_term_relationships` TO `acc_term_relationships`;
RENAME table `wp_term_taxonomy` TO `acc_term_taxonomy`;
RENAME table `wp_usermeta` TO `acc_usermeta`;
RENAME table `wp_users` TO `acc_users`;&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Testing the migration results&lt;/h2&gt;
&lt;p&gt;If you need to point a WordPress installation to these tables for testing, you'll need to do two things:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Update the &lt;em&gt;$table_prefix&lt;/em&gt; setting in the &lt;em&gt;wp-options.php&lt;/em&gt; file&lt;/li&gt;
&lt;li&gt;Update the &lt;em&gt;options&lt;/em&gt; and &lt;em&gt;usermeta&lt;/em&gt; tables&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Updating the &lt;em&gt;$table_prefix&lt;/em&gt; setting in the &lt;em&gt;wp-options.php&lt;/em&gt; file is straightforward. Open the file and edit the line:&lt;/p&gt;
&lt;pre&gt;$table_prefix  = 'acc_';&lt;/pre&gt;
&lt;p&gt;In WordPress, prefixes are saved as entries in the &lt;em&gt;options&lt;/em&gt; and &lt;em&gt;usermeta&lt;/em&gt; table. Check for entries containing the prefix:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SELECT * FROM `acc_options` WHERE `option_name` LIKE '%wp_%';
SELECT * FROM `acc_usermeta` WHERE `meta_key` LIKE '%wp_%';&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;When you have all the entries, update them with the new prefix. The query will probably look something like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;UPDATE `acc_options` SET `option_name` = 'acc_user_roles' WHERE `option_name` = 'wp_user_roles';
UPDATE `acc_usermeta` SET `meta_key` = 'acc_capabilities' WHERE `meta_key` = 'wp_capabilities';
UPDATE `acc_usermeta` SET `meta_key` = 'acc_user_level' WHERE `meta_key` = 'wp_user_level';
UPDATE `acc_usermeta` SET `meta_key` = 'acc_user-settings-time' WHERE `meta_key` = 'wp_user-settings-time';
UPDATE `acc_usermeta` SET `meta_key` = 'acc_user-settings' WHERE `meta_key` = 'wp_user-settings';
UPDATE `acc_usermeta` SET `meta_key` = 'acc_dashboard_quick_press_last_post_id' WHERE `meta_key` = 'wp_dashboard_quick_press_last_post_id';
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;A word of warning:&lt;/strong&gt; it's easy to forget to change the prefixes back to match the final WordPress installation. If you do, the WordPress user accounts will have problems, such as the Dashboard controls not being visible after logging in. Because of this, I tend to have a separate testing installation that gets an import of the working tables.&lt;/p&gt;

&lt;div class="footnotes"&gt;
&lt;p&gt;Cover photo by &lt;a href="https://unsplash.com/@gavla?utm_content=creditCopyText&amp;amp;utm_medium=referral&amp;amp;utm_source=unsplash" target="_blank" rel="nofollow"&gt;Gavin Allanwood&lt;/a&gt; on &lt;a href="https://unsplash.com/photos/aerial-photo-of-grey-tables-q92hWEdK8p8?utm_content=creditCopyText&amp;amp;utm_medium=referral&amp;amp;utm_source=unsplash" target="_blank" rel="nofollow"&gt;Unsplash&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;


&lt;section class="breakout-white"&gt;
&lt;div class="breakout-inner text-center"&gt;

&lt;h2&gt;Need Help With Your Drupal to WordPress Migration?&lt;/h2&gt;

&lt;p&gt;I specialise in complex Drupal to WordPress migrations, including database preparation, table prefix management, and post-migration testing. Get a free, no-obligation consultation.&lt;/p&gt;

&lt;div class="button-container" style="margin:2em 0;"&gt;
&lt;a class="cta-button" href="https://migratecontent.com/contact/" title="Get a quote for your Drupal to WordPress migration"&gt;Get a Free Quote&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;/section&gt;</description><category>database</category><category>drupal</category><category>migration</category><category>sql</category><category>wordpress</category><guid>https://migratecontent.com/change-wordpress-table-prefix-prior-migration/</guid><pubDate>Thu, 16 Mar 2017 13:12:02 GMT</pubDate></item><item><title>Post-migration troubleshooting: WordPress redirects to old site after updating database</title><link>https://migratecontent.com/wordpress-migration-redirects-old-site/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>If you've ever migrated a WordPress site, either to another URL or for a &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-tool/" title="Drupal to WordPress migration tool"&gt;Drupal to WordPress migration project&lt;/a&gt;, you'll know that WordPress stores the domain name in its database. This means you'll have to jump through some hoops &lt;a href="https://codex.wordpress.org/Moving_WordPress" title="WordPress Codex: Moving WordPress"&gt;when moving WordPress&lt;/a&gt; to another environment. A critical step is to update the database to reflect the new domain. My favourite tool for this used to be the &lt;a href="https://interconnectit.com/products/search-and-replace-for-wordpress-databases/"&gt;database search and replace script&lt;/a&gt; from interconnect/it. The script is PHP-based so runs on all environments that host WordPress. I now prefer WP-CLI's &lt;a href="http://wp-cli.org/commands/search-replace/" title="wp search-replace"&gt;&lt;code&gt;wp search-replace&lt;/code&gt;&lt;/a&gt; command when on my own development environment, or for client hosting that supports it. Nevertheless, interconnect/it's tool is still my fall-back option for clients of my &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-service/"&gt;Drupal to WordPress migration service&lt;/a&gt; since many use hosts that don't offer command-line access.

In nearly all cases, updating the &lt;em&gt;siteurl&lt;/em&gt; and &lt;em&gt;home&lt;/em&gt; fields in the &lt;em&gt;wp_options&lt;/em&gt; database table achieves the bare minimum to get the site working after migration. Running a search-and-replace across the WordPress database (in particular, the &lt;em&gt;wp_posts&lt;/em&gt; table) will resolve broken links containing absolute URLs.

&lt;h2&gt;wp-admin still redirects to the old site after updating wp_options?&lt;/h2&gt;

Once-in-a-while, I'll encounter a migration project where &lt;em&gt;wp-admin&lt;/em&gt; still redirects to the old site even after running through the obvious steps of: 
&lt;ol&gt;
	&lt;li&gt;updating the database;&lt;/li&gt;
	&lt;li&gt;clearing the browser cache;&lt;/li&gt;
	&lt;li&gt;clearing the server cache.&lt;/li&gt;
&lt;/ol&gt;

It happens very rarely so I have yet to discover the cause. I suspect it's something to do with sites that had a caching plugin installed, such as &lt;a href="https://en-gb.wordpress.org/plugins/w3-total-cache/"&gt;W3 Total Cache&lt;/a&gt;.

If you ever find yourself in this situation, the best workaround is to add the following two constants in &lt;em&gt;wp-config.php&lt;/em&gt;:

&lt;code&gt;define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME']);
define('WP_SITEURL', WP_HOME . '/');&lt;/code&gt;

This isn't a nice long-term solution but it should at least enable you to log in for some basic site administration. Once you're able to log in to the WordPress Dashboard, disable any caching plugins after first clearing their cache.</description><category>drupal</category><category>migration</category><category>troubleshooting</category><category>wordpress</category><guid>https://migratecontent.com/wordpress-migration-redirects-old-site/</guid><pubDate>Sun, 19 Feb 2017 00:33:22 GMT</pubDate></item><item><title>Handling the Drupal file directory when migrating to WordPress</title><link>https://migratecontent.com/handling-drupal-file-directory-when-migrating-to-wordpress/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>Attaching media to the WordPress Media Library is one of those things that many clients don't realise can add lots of time to a &lt;a title="Drupal to WordPress migration service" href="https://migratecontent.com/drupal-to-wordpress-migration-service/"&gt;Drupal to WordPress migration project&lt;/a&gt;. The reason is a little detailed and involves some knowledge of WordPress' inner-workings.

When you upload a file to the WordPress Media Library, WordPress does some magic behind the scenes and creates different bits of metadata. If you upload, say, an image, it creates thumbnail versions of the image based on the settings in &lt;em&gt;Settings &amp;gt; Media Settings &amp;gt; Image sizes&lt;/em&gt;. It also adds a bunch of serialized data in WordPress' attachment table (&lt;em&gt;wp_attachment_metadata&lt;/em&gt;). If you get this information wrong, displaying attachments will fail. For example, &lt;em&gt;Featured Images&lt;/em&gt; in posts will not display because the theme has no reference for which thumbnail to display when a post is delivered.

&lt;!-- image removed: migrate-drupal-media-wordpress.png --&gt;

Because of the necessary metadata that needs to be generated, attaching media to the Media Library is therefore not feasible through a &lt;a title="Drupal to WordPress migration explained" href="https://migratecontent.com/drupal-to-wordpress-migration-explained/"&gt;database migration using purely SQL queries&lt;/a&gt;. If you'd like media attached, a separate custom script is needed to pick up all your files under the Drupal file directory and attach them using different mechanisms, such as XML-RPC, WP-CLI or a &lt;a href="http://brendancarr.ca/drupal-6-to-wordpress-image-migration/"&gt;custom plugin&lt;/a&gt;. It adds to the cost so many of my clients see this as a 'nice-to-have' rather than a necessity.

As an alternative, my clients and I have come up with different ways to handle the Drupal files and media items when migrating to WordPress:
&lt;ol&gt;
 	&lt;li&gt;Leave the Drupal file directory path intact on the WordPress installation server. This is the easiest option which most clients take because it’s cheaper. No changes are needed to the post and page content because the already embedded path will still be valid. However, we may have to make changes to the WordPress theme so that it knows the path to legacy Drupal file path. Future uploaded files will be fine but legacy posts will point to the Drupal file paths. This is not nice and a bit of a hack but it’s a cheap and quick solution. Media items will not appear in the WordPress Media Library.&lt;/li&gt;
 	&lt;li&gt;Move the Drupal file tree to the WordPress &lt;em&gt;wp-content&lt;/em&gt; directory. We then need to do a search-and-replace to amend the link path within the post content. There's a small risk of broken links if we don't get the search pattern right but generally it's a straightforward process. Media items will not appear in the WordPress Media Library.&lt;/li&gt;
 	&lt;li&gt;Use a &lt;a href="https://wordpress.org/plugins/featured-image-from-url/"&gt;plugin&lt;/a&gt; or custom &lt;a href="http://www.wpexplorer.com/wordpress-featured-image-url/"&gt;WordPress code&lt;/a&gt; to attach files from an external URL. The client's developer normally handles this work in-house so I can't offer much feedback on this method. It seems to work reasonably well.&lt;/li&gt;
 	&lt;li&gt;Manually upload all the files to the WordPress Media Library. This is of course the most tedious and time-consuming option. Nevertheless, those with smaller sites or have gone this route. If you're trying to save on budget and have lots of time on your hands, you might want to consider it.&lt;/li&gt;
&lt;/ol&gt;
&lt;div id="footnotes"&gt;Graphic courtesy of and copyright morguefile.com user &lt;a href="https://morguefile.com/creative/Ladyheart"&gt;Ladyheart&lt;/a&gt;&lt;/div&gt;</description><category>drupal</category><category>migration</category><category>wordpress</category><guid>https://migratecontent.com/handling-drupal-file-directory-when-migrating-to-wordpress/</guid><pubDate>Thu, 02 Feb 2017 19:48:52 GMT</pubDate></item><item><title>How to write a Drupal to WordPress migration mapping document</title><link>https://migratecontent.com/write-drupal-wordpress-migration-mapping-document/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>Performing a Drupal to WordPress migration can be very complex, especially if you have many content types. You'll make the process easier if you create a migration mapping document beforehand. A common migration mapping is to convert Drupal pages to the WordPress page type and Drupal stories to the WordPress post type. However, many Drupal sites also have custom content types so the mapping won't always be obvious. Will they be converted to WordPress pages or posts? Do they have custom fields? How about &lt;a href="https://www.drupal.org/project/views" title="Drupal Views module"&gt;views&lt;/a&gt; and &lt;a href="https://www.drupal.org/project/panels" title="Drupal Panels module"&gt;panels&lt;/a&gt;? Perhaps you may need to develop a new WordPress content type to support them.

Your Drupal to WordPress migration mapping document will give everyone involved a clear idea about how the Drupal content will be migrated to its equivalent in WordPress. If you're running the migration yourself on a simple blog or company site, there might not be much need to spend the extra effort but sometimes running through the process uncovers aspects of the site that you may have overlooked. I'd say this is vital for migrations where you've hired someone else or if you have a content-heavy or news-based site. Not only will the document make it easier for someone to quote for the job, you'll also have a specification for reference when checking the results post-migration.

&lt;h2&gt;Creating the content mapping&lt;/h2&gt;

Creating the mapping needn't be complex. The easiest way is draw up a table with at least two columns. On the left column, list down all your Drupal content types. Next write down equivalent WordPress content type on the right column for each row of Drupal content types. You might find it helpful to have a third column for writing notes, such as whether or not you need do develop a new custom WordPress content type. If your Drupal content type has custom fields, simply add rows below each type listing the fields.


&lt;table style="width: 60%"&gt;
&lt;caption&gt;Sample content mapping table&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Drupal&lt;/th&gt;
&lt;th&gt;WordPress&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class="odd row-first"&gt;
&lt;td&gt;Drupal&lt;/td&gt;
&lt;td&gt;WordPress&lt;/td&gt;
&lt;td&gt;Notes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td&gt;Drupal&lt;/td&gt;
&lt;td&gt;WordPress&lt;/td&gt;
&lt;td&gt;Notes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="odd"&gt;
&lt;td&gt;  Field 1&lt;/td&gt;
&lt;td&gt;  Field 1&lt;/td&gt;
&lt;td&gt;Notes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td&gt;  Field 2&lt;/td&gt;
&lt;td&gt;  Field 2&lt;/td&gt;
&lt;td&gt;Notes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="odd"&gt;
&lt;td&gt;  Field 3&lt;/td&gt;
&lt;td&gt;  Field 3&lt;/td&gt;
&lt;td&gt;Notes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td&gt;Drupal&lt;/td&gt;
&lt;td&gt;WordPress&lt;/td&gt;
&lt;td&gt;Notes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="odd"&gt;
&lt;td&gt;Drupal&lt;/td&gt;
&lt;td&gt;WordPress&lt;/td&gt;
&lt;td&gt;Notes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="even"&gt;
&lt;td&gt;Drupal&lt;/td&gt;
&lt;td&gt;WordPress&lt;/td&gt;
&lt;td&gt;Notes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

Developers responsible for the migration can also add additional sections specifying back-end table and field names where the relevant content can be found.


&lt;h2&gt;Creating the functionality mapping&lt;/h2&gt;

Follow a similar procedure to create the functionality mapping. Instead of content type names, list down Drupal modules and equivalent WordPress plugins. 

&lt;h2&gt;Preparing for your migration project&lt;/h2&gt;

The migration mapping document will have helped prepare you for your project and provide you with a specification for the migration. You might also find the following articles useful:

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/prepare-drupal-wordpress-migration-project/"&gt;How to prepare for your Drupal to WordPress migration project&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;&lt;a href="https://migratecontent.com/drupal-wordpress-migration-worksheet/"&gt;Drupal to WordPress migration worksheet&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div style="border-top: 3px solid #BABECB;margin: 50px 0 0 0;padding: 20px 0 0 0; font-style:italic;"&gt;
A little plug to keep the lights running. If you think all of this work is too much trouble, please consider &lt;a href="https://migratecontent.com/#contact"&gt;hiring me&lt;/a&gt; for your Drupal to WordPress migration project.
&lt;/div&gt;

&lt;div class="drupal_to_wordpress_banner"&gt;
&lt;h3 style="font-size:1.5em"&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-service/" title="Drupal to WordPress migration"&gt;Drupal to WordPress migration service&lt;/a&gt;&lt;/h3&gt;

&lt;strong&gt;Any Drupal version · All content · Custom content types · SEO · Plugins&lt;/strong&gt;

&lt;p&gt;&lt;em&gt;If you're not sure how to make the appropriate changes or would simply like someone else to do the work, please &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-service/#contact" title="Get an estimate for Drupal to WordPress migration"&gt;request a quotation&lt;/a&gt; for my &lt;strong&gt;&lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-service/" title="Ask about Drupal to WordPress migration service"&gt;Drupal to WordPress migration service&lt;/a&gt;.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;a class="button" href="https://migratecontent.com/drupal-to-wordpress-migration-service/#contact" title="Contact me to inquire about my Drupal to WordPress migration service"&gt;Get a quote&lt;/a&gt;
&lt;/div&gt;</description><category>drupal</category><category>migration</category><category>wordpress</category><guid>https://migratecontent.com/write-drupal-wordpress-migration-mapping-document/</guid><pubDate>Wed, 07 Sep 2016 07:02:13 GMT</pubDate></item><item><title>Importing a WordPress database: How to fix the Unknown collation: 'utf8mb4_unicode_ci' error</title><link>https://migratecontent.com/wordpress-how-to-fix-unknown-collation-error/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>If you do a lot of exporting and importing to different database servers, you'll be familiar with the frustration of encountering MySQL import errors. Every so often when importing a WordPress dump file into a client's database, I will encounter an &lt;em&gt;Unknown collation&lt;/em&gt; error like the following:

&lt;code&gt;Unknown collation: 'utf8mb4_unicode_ci'&lt;/code&gt;

Sometimes it will come up as:

&lt;code&gt;Unknown collation: 'utf8mb4_unicode_520_ci'&lt;/code&gt;

This is caused by a difference in encoding types between the source and destination databases. It usually happens when you export from a newer MySQL database (MySQL 5.5.3 and above) which &lt;a href="https://dev.mysql.com/doc/refman/5.7/en/charset-unicode-utf8mb4.html"&gt;uses &lt;code&gt;utf8mb4&lt;/code&gt;&lt;/a&gt;, then attempt to import into an older version using &lt;code&gt;utf8&lt;/code&gt;. If you are importing from a dump file generated from a MySQL 5.6 database, you may get the &lt;em&gt;utf8mb4_unicode_520_ci&lt;/em&gt; message. The &lt;em&gt;520&lt;/em&gt; refers to &lt;a title="utf8mb4_unicode_520_ci: Unicode Collation Algorithm new version" href="https://dev.mysql.com/worklog/task/?id=2673#tabs-2673-4"&gt;MySQL's use of&lt;/a&gt; Unicode Collation Algorithm 5.2.0. Unknown collation errors may also happen if you are trying to import a &lt;a title="MariaDB versus MySQL - Compatibility" href="https://mariadb.com/kb/en/mariadb/mariadb-vs-mysql-compatibility/"&gt;MariaDB&lt;/a&gt; database into MySQL. I tend to get &lt;em&gt;unknown collation&lt;/em&gt; errors with my Rackspace Cloud accounts after Rackspace started offering MariaDB as a database option.

Ideally one would upgrade the older destination database but this isn't always a realistic option. There are a number of discussion threads on the &lt;a href="https://wordpress.org/support/topic/collation-error-utf8-mb4#post-6884157"&gt;WordPress forum&lt;/a&gt; about what to do. Fortunately, many web hosting accounts have a phpMyAdmin interface which provides an easy work-around for the problem.
&lt;h2&gt;Format-specific options during a phpMyAdmin database export&lt;/h2&gt;
&lt;ol&gt;
 	&lt;li&gt;Log in to your database server using phpMyAdmin&lt;/li&gt;
 	&lt;li&gt;Make sure you select your database and go to the "Export" tab&lt;/li&gt;
 	&lt;li&gt;Select the "Custom" radio button&lt;/li&gt;
 	&lt;li&gt;Go the section "Format-specific options" and in the setting for "Database system or older MySQL server to maximize output compatibility with:" select &lt;strong&gt;MYSQL40&lt;/strong&gt;.&lt;/li&gt;
 	&lt;li&gt;Scroll to the bottom and click &lt;strong&gt;GO&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;!-- image removed: phpmyadmin-format-specific-options.png --&gt;

Other possible solutions include:
&lt;ul&gt;
 	&lt;li&gt;&lt;a title="Unknown collation question on stackoverflow" href="http://stackoverflow.com/a/31506831"&gt;doing a search and replace&lt;/a&gt; on the database dump file;&lt;/li&gt;
 	&lt;li&gt;&lt;a href="http://stackoverflow.com/a/30005743"&gt;converting the character set&lt;/a&gt; to &lt;code&gt;utf8_general_ci&lt;/code&gt;;&lt;/li&gt;
 	&lt;li&gt;converting the database for &lt;a href="https://mathiasbynens.be/notes/mysql-utf8mb4"&gt;full Unicode support&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
Since many of my WordPress database migrations are under my &lt;a title="Drupal to WordPress migration service" href="https://migratecontent.com/drupal-to-wordpress-migration-service/"&gt;migration service&lt;/a&gt;, I don't always have control over the client's platform. The phpMyAdmin export format method is often the simplest solution.
&lt;h2&gt;Side-effects of a character encoding downgrade&lt;/h2&gt;
You might be wondering about the purpose of encoding types and if there will be any side-effects of downgrading. Character encoding allows support for a set of characters, such as the Western alphabet, Asian scripts and non-alphanumeric symbols. Older &lt;code&gt;utf8&lt;/code&gt; databases support a smaller set of characters whereas &lt;code&gt;utf8mb4&lt;/code&gt; includes &lt;a title="Emoji, WordPress, and You" href="https://kraft.im/2015/03/emoji-wordpress-and-you/"&gt;emojis, musical notation and Chinese Han characters&lt;/a&gt;. If you've ever exported a website from one CMS to another and found random characters scattered throughout the copy, it's because of an incompatible character encoding.

Solving the &lt;em&gt;unknown collation&lt;/em&gt; error as described here could mean you'll end up with unsupported characters after your site migration. However, as with many of my &lt;a title="Drupal to WordPress migration tool" href="https://migratecontent.com/drupal-to-wordpress-migration-tool/"&gt;Drupal to WordPress migration&lt;/a&gt; clients, in all likelihood you'll be migrating &lt;em&gt;from an older&lt;/em&gt; &lt;code&gt;utf8&lt;/code&gt; Drupal database &lt;em&gt;to a newer&lt;/em&gt; &lt;code&gt;utf8mb4&lt;/code&gt;-supported WordPress database. In this case, your old content will not have characters that will cause a problem after an encoding downgrade.</description><category>character</category><category>database</category><category>drupal</category><category>encoding</category><category>migration</category><category>troubleshooting</category><category>wordpress</category><guid>https://migratecontent.com/wordpress-how-to-fix-unknown-collation-error/</guid><pubDate>Fri, 13 May 2016 14:57:04 GMT</pubDate></item><item><title>How to Prepare for Your Drupal to WordPress Migration</title><link>https://migratecontent.com/how-to-prepare-drupal-wordpress-migration/</link><dc:creator>Aiden</dc:creator><description>&lt;p class="intro"&gt;The most successful migrations I've worked on share one thing in common: the site owner did their preparation before the project started. A few hours of groundwork on your side (auditing your content, gathering credentials, and clarifying your goals) saves significant time and budget during the migration itself. Here's what to have ready.&lt;/p&gt;

&lt;h2&gt;Clarify Your Migration Goals&lt;/h2&gt;

&lt;p&gt;Before discussing timelines or costs, the first question to answer is: what do you actually need from this migration?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;What must come across?&lt;/strong&gt; All content, or a curated subset? Do you need full order history, or just active products? Complete user accounts, or just administrators?&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What can be left behind?&lt;/strong&gt; Old drafts, test content, unused content types, and deprecated modules don't need to migrate. Stripping these out reduces complexity and cost.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Are you redesigning?&lt;/strong&gt; If you're planning a visual redesign alongside the migration, the WordPress theme work can run in parallel with data migration. If you want to replicate the existing design, that's a different brief.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What's your timeline?&lt;/strong&gt; A hard deadline (end-of-life pressure, hosting contract expiry, compliance audit) affects how the project is phased.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Clear answers to these questions shape the entire project scope. Ambiguity here is the most common cause of budget overruns.&lt;/p&gt;

&lt;h2&gt;Audit Your Drupal Content&lt;/h2&gt;

&lt;p&gt;The content audit is the foundation of the migration plan. I'll conduct a detailed technical audit once the project starts, but having your own understanding of what's on the site accelerates the process considerably.&lt;/p&gt;

&lt;h3&gt;Content Types&lt;/h3&gt;

&lt;p&gt;Log in to your Drupal admin and go to Structure &amp;gt; Content types. List every content type and roughly how many nodes exist for each. Pay particular attention to custom types. These are the ones that require the most migration work.&lt;/p&gt;

&lt;h3&gt;Taxonomy Vocabularies&lt;/h3&gt;

&lt;p&gt;Check Structure &amp;gt; Taxonomy. Note each vocabulary, the number of terms, and whether terms have custom fields or descriptions. Taxonomy structures often need restructuring for WordPress.&lt;/p&gt;

&lt;h3&gt;Media and Files&lt;/h3&gt;

&lt;p&gt;Estimate the volume of uploaded files: images, documents, PDFs, videos. Check whether files are stored in a public or private filesystem. Large media libraries need separate handling during migration.&lt;/p&gt;

&lt;h3&gt;Users and Roles&lt;/h3&gt;

&lt;p&gt;Note how many user accounts exist and which roles are in use. If your site has authenticated user features (member areas, customer accounts, editorial workflows), these need role mapping to WordPress equivalents.&lt;/p&gt;

&lt;h3&gt;Custom Modules and Views&lt;/h3&gt;

&lt;p&gt;List any custom-built modules and key Views configurations. Custom modules may store data in their own database tables, which won't be covered by standard migration scripts. Views-generated pages that drive traffic need equivalent WordPress implementations.&lt;/p&gt;

&lt;h2&gt;Gather Your Credentials&lt;/h2&gt;

&lt;p&gt;Migration requires access to several systems. Having these ready at the start of the project avoids delays:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Database access.&lt;/strong&gt; Credentials for your Drupal database, via cPanel, phpMyAdmin, or direct SSH access. I'll need to export the database for analysis and test migrations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;File system access.&lt;/strong&gt; FTP or SSH credentials to download your &lt;code&gt;sites/default/files&lt;/code&gt; directory. This contains all uploaded media.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Drupal admin login.&lt;/strong&gt; Administrative access to the Drupal backend for reviewing content types, modules, and configuration.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hosting provider details.&lt;/strong&gt; Your current hosting provider and plan, plus any planned changes. If you're moving hosting alongside the migration, coordination is needed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Domain registrar access.&lt;/strong&gt; For the DNS cutover at launch, you'll need access to update DNS records, or be able to instruct your registrar to do so.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you don't have direct database access, your hosting provider can usually provide it on request. For managed hosting platforms, let me know the provider and I'll advise on the best approach.&lt;/p&gt;

&lt;h2&gt;Plan Your WordPress Architecture&lt;/h2&gt;

&lt;p&gt;These decisions don't need to be finalised before migration starts, but thinking about them early helps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Theme direction.&lt;/strong&gt; Are you using a custom theme, a pre-built theme, or a theme framework? If you want to replicate your current design, screenshots and a list of key page layouts are helpful.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Essential plugins.&lt;/strong&gt; Identify functionality your Drupal site provides that will need WordPress plugin equivalents: forms, SEO, caching, e-commerce, membership areas.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hosting environment.&lt;/strong&gt; WordPress hosting requirements differ from Drupal. If you're staying with your current provider, confirm they support WordPress. If moving, hosting selection should happen early in the project.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;SEO Preparation&lt;/h2&gt;

&lt;p&gt;If organic search drives meaningful traffic to your site, SEO preparation should start before the migration project begins.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Export your URL aliases.&lt;/strong&gt; Your Drupal database contains a &lt;code&gt;url_alias&lt;/code&gt; table with every URL path on the site. Export this. It's the starting point for your redirect map.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Export metadata.&lt;/strong&gt; If you're using the Metatag module, export the meta titles and descriptions. These need importing into your WordPress SEO plugin.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Identify high-traffic pages.&lt;/strong&gt; Use Google Analytics or Search Console to identify the pages that drive the most organic traffic. These get priority attention during URL mapping and redirect testing.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Document taxonomy pages.&lt;/strong&gt; Check whether any Drupal taxonomy listing pages appear in search results and drive traffic. These need explicit redirect handling.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For a more detailed treatment of SEO during migration, see &lt;a href="https://migratecontent.com/preserving-seo-drupal-wordpress-migration/"&gt;Preserving Your SEO During a Drupal to WordPress Migration&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;What to Expect from the Process&lt;/h2&gt;

&lt;p&gt;A well-run migration isn't a black box. Here's what the process looks like from your side:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Initial audit.&lt;/strong&gt; I analyse your database and content model, then provide a migration plan and quote. No work begins without your sign-off on the scope.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Iterative testing.&lt;/strong&gt; You'll review test migration output at key stages. This is your opportunity to catch issues early: missing fields, incorrect mappings, content that needs restructuring.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Your involvement.&lt;/strong&gt; Plan for a few hours per week during the active migration phase. You'll be reviewing test output, answering questions about content decisions, and signing off on milestones.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Launch coordination.&lt;/strong&gt; The DNS cutover needs to happen during a low-traffic window. For e-commerce sites, I coordinate the final data sync and cutover to minimise disruption.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The total timeline depends on complexity. A straightforward content migration might take 4 to 6 weeks, while a complex site with e-commerce, custom content types, and extensive SEO requirements can run 8 to 12 weeks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Related reading:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/preserving-seo-drupal-wordpress-migration/"&gt;Preserving Your SEO During a Drupal to WordPress Migration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/how-we-migrate-technical-process/"&gt;How We Migrate: The Technical Process Behind a Drupal to WordPress Migration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://migratecontent.com/content-migration-process/"&gt;How the migration process works&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;section class="breakout-white"&gt;
&lt;div class="breakout-inner text-center"&gt;

&lt;h2&gt;Ready to Start Planning Your Migration?&lt;/h2&gt;

&lt;p&gt;Send me a brief overview of your Drupal site and I'll provide a free initial assessment: what's involved, what to expect, and a ballpark timeline for your specific situation.&lt;/p&gt;

&lt;div class="button-container" style="margin:2em 0;"&gt;
&lt;a class="cta-button" href="https://migratecontent.com/contact/" title="Get a free migration assessment"&gt;Get a Free Quote&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;/section&gt;</description><category>drupal</category><category>migration</category><category>planning</category><category>preparation</category><category>wordpress</category><guid>https://migratecontent.com/how-to-prepare-drupal-wordpress-migration/</guid><pubDate>Mon, 02 May 2016 10:05:59 GMT</pubDate></item><item><title>Drupal to WordPress migration worksheet</title><link>https://migratecontent.com/drupal-wordpress-migration-worksheet/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>&lt;p&gt;If you are using my Drupal to WordPress Migration Tool or have hired me for &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-service/" title="Drupal to WordPress migration service"&gt;Drupal to WordPress migration service&lt;/a&gt;, it's important that you gather as much information as you can about your Drupal installation. The more detailed you are in your investigation, the fewer surprises there will be during the actual migration. You may have hired a web development company or freelancer to build your site and they'll sometimes be able to provide you with the necessary information. However, gathering this information can involve some work so they may be reluctant to provide help without an extra fee.&lt;/p&gt;
&lt;p&gt;You can use the questions below to help structure your investigation process. I can help you with this if you're not able to run the investigation yourself. &lt;a href="https://migratecontent.com/contact/"&gt;Please ask for details&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;Drupal Installation Questions&lt;/h2&gt;

&lt;em&gt;What are the FTP login details of your hosting provider?&lt;/em&gt;You will need these details to make a backup of your Drupal site. When the migration is complete, you'll need them to install WordPress on your server.


	&lt;table style="width: 100%"&gt;
&lt;caption&gt;FTP Credentials&lt;/caption&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th style="width: 30%"&gt;
	Host&lt;/th&gt;
&lt;td style="width: 70%"&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;
	Port&lt;/th&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;
	Protocol&lt;/th&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;
	Username&lt;/th&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;
	Password&lt;/th&gt;
&lt;td style="color:#aaa"&gt;Send through secure channel e.g. password manager&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;


&lt;em&gt;What are the database login details of your hosting provider?&lt;/em&gt;You'll need these to export your Drupal database to perform the migration.

&lt;table style="width: 100%"&gt;
&lt;caption&gt;Database Credentials&lt;/caption&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th style="width: 30%"&gt;
	Host&lt;/th&gt;
&lt;td style="width: 70%"&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;
	Port&lt;/th&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;
	Database name&lt;/th&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;
	Username&lt;/th&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;
	Password&lt;/th&gt;
&lt;td style="color:#aaa"&gt;Send through secure channel e.g. password manager&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;em&gt;Do you know how to export your database to a dumpfile?&lt;/em&gt;If you're unsure how to export your database to a 'dumpfile', please contact your hosting provider. They will likely have tools such as phpMyAdmin and help articles to guide you through the process.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th style="width:90%"&gt;
	 &lt;/th&gt;
&lt;td style="width:10%; text-align:center"&gt;&lt;strong&gt;Yes/No&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th style="width:90%"&gt;
	I know how to export my database to a dump file&lt;/th&gt;
&lt;td style="width:10%"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;
	I need help exporting my database to a dump file&lt;/th&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div class="page-break"&gt;&lt;/div&gt;

&lt;em&gt;What version of Drupal are you running?&lt;/em&gt;The database column names differ slightly between Drupal versions. This means that a different set MySQL queries will be needed to perform the migration. You can sometimes find this information using your installation's &lt;em&gt;CHANGELOG&lt;/em&gt; file at http://[YOURDOMAIN.COM]/CHANGELOG.txt. Some developers remove this file as part of their security hardening process so it may not exist in your installation.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th style="width:90%"&gt;
	Drupal version&lt;/th&gt;
&lt;td style="width:10%"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;em&gt;List your Drupal modules and site functionality&lt;/em&gt;Can the functionality can be handled with existing WordPress plugins? Will you need to develop custom plugins?&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;caption&gt;Drupal modules and functionality&lt;/caption&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="height: 200px"&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;em&gt;How many custom content types do you have set up?&lt;/em&gt;Additional migration MySQL queries will be needed for each Drupal custom content type. WordPress supports &lt;em&gt;page&lt;/em&gt; and &lt;em&gt;post&lt;/em&gt; content types as standard. Additional development work will be needed to support other content types.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;caption&gt;Drupal custom content types&lt;/caption&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="height: 200px"&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div class="page-break"&gt;&lt;/div&gt;

&lt;em&gt;How many custom fields do you have set up?&lt;/em&gt;As with custom content types, custom fields in your Drupal installation will need additional work to support them under WordPress.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;caption&gt;Drupal custom fields&lt;/caption&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="height: 200px"&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;em&gt;Do you have blocks, views and panes with important content?&lt;/em&gt;Many Drupal sites display content in blocks, views and panes. These will also need additional work to support under WordPress.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;caption&gt;Drupal blocks, views and panes&lt;/caption&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="height: 200px"&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;em&gt;How many nodes do you have?&lt;/em&gt;The number of Drupal nodes you have does not usually play a big factor in the complexity of the migration. However, it will still be useful to get an idea of the number since many nodes can have an impact on how long it takes to troubleshoot migration problems.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th style="width:90%"&gt;
	Approximate number of Drupal nodes&lt;/th&gt;
&lt;td style="width:10%"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div class="page-break"&gt;&lt;/div&gt;

&lt;em&gt;Do you expect to have multiple aliases referencing the same post?&lt;/em&gt;Drupal supports multiple URL aliases for nodes. These will need to be resolved when migrating to WordPress. For more information, please see my article &lt;a href="https://migratecontent.com/preserving-seo-drupal-wordpress-migration/" title="Preserving SEO during a Drupal to WordPress migration"&gt;Preserving SEO during a Drupal to WordPress migration&lt;/a&gt;.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;caption&gt;Brief description of what to do with multiple aliases&lt;/caption&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style="border:none;"&gt;
		&lt;em&gt;It's OK if you don't know. We can discuss your options.&lt;/em&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="height: 200px"&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;em&gt;Do you expect to have duplicate terms?&lt;/em&gt;Duplicate Drupal terms can cause problems during a migration. Handling Drupal terms during a Drupal to WordPress migration requires careful planning to avoid data loss.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;caption&gt;Brief description of what to do with duplicate terms&lt;/caption&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style="border:none;"&gt;
		&lt;em&gt;It's OK if you don't know. We can discuss your options.&lt;/em&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="height: 200px"&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div class="page-break"&gt;&lt;/div&gt;

&lt;em&gt;Will your terms exceed the WordPress' 200 character length?&lt;/em&gt;WordPress has a 200 character limit for terms. Any Drupal terms longer than 200 characters will need to be truncated.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;caption&gt;Brief description of what to do with problem terms&lt;/caption&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style="border:none;"&gt;
		&lt;em&gt;It's OK if you don't know. We can discuss your options.&lt;/em&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="height: 200px"&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;em&gt;How many users do you have?&lt;/em&gt;The number of users doesn't play a big factor during a migration but it may be useful to know.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th style="width:90%"&gt;
	Approximate number of users&lt;/th&gt;
&lt;td style="width:10%"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;em&gt;How many user roles do you have?&lt;/em&gt;Your Drupal user roles may need to be converted into &lt;a href="https://codex.wordpress.org/Roles_and_Capabilities" title="WordPress Roles and Capabilities"&gt;WordPress roles&lt;/a&gt;.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;caption&gt;List and brief description of user roles&lt;/caption&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style="border:none;"&gt;
		&lt;em&gt;It's OK if you don't know. We can discuss your options.&lt;/em&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="height: 200px;"&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;


&lt;div class="page-break"&gt;&lt;/div&gt;
&lt;h2&gt;WordPress Installation Questions&lt;/h2&gt;

&lt;em&gt;Will preserving SEO be an important part of the project?&lt;/em&gt;For more information, please see my article &lt;a href="https://migratecontent.com/preserving-seo-drupal-wordpress-migration/" title="Preserving SEO during a Drupal to WordPress migration"&gt;Preserving SEO during a Drupal to WordPress migration&lt;/a&gt;.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th style="width:90%"&gt;
	 &lt;/th&gt;
&lt;td style="width:10%; text-align:center"&gt;&lt;strong&gt;Yes/No&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th style="width:90%"&gt;
	Preserving SEO is important for this project&lt;/th&gt;
&lt;td style="width:10%"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;em&gt;Aside from migrating to WordPress, do you also plan to redesign the site?&lt;/em&gt;Redesigning the site will obviously involve more work as it will require a custom WordPress theme. Some site owners are happy to use a free or premium off-the-shelf theme template.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;caption&gt;Ideas for the WordPress theme&lt;/caption&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style="border:none;"&gt;
		&lt;em&gt;e.g. list the names, URLs and prices of any pre-made template candidates&lt;/em&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="height: 200px"&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;em&gt;Are there existing WordPress plugins that match your Drupal functionality?&lt;/em&gt;If you're happy to be flexible, you may find WordPress plugins that closely match any Drupal modules you have installed on your existing site. Set aside some time to search the &lt;a href="https://wordpress.org/plugins/" title="WordPress Plugin Directory"&gt;WordPress Plugin Directory&lt;/a&gt;. If you don't find anything suitable, you may have to consider setting aside some budget for custom plugin development.&lt;br&gt;
&lt;table style="width: 100%"&gt;
&lt;caption&gt;List some possible WordPress plugins you may have found&lt;/caption&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="height: 200px"&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;


&lt;section class="breakout-white"&gt;
&lt;div class="breakout-inner text-center"&gt;

&lt;h2&gt;Need Help Preparing Your Migration?&lt;/h2&gt;

&lt;p&gt;I specialise in complex Drupal to WordPress migrations. If you need help completing this worksheet or planning your migration project, get in touch for a free, no-obligation consultation.&lt;/p&gt;

&lt;div class="button-container" style="margin:2em 0;"&gt;
&lt;a class="cta-button" href="https://migratecontent.com/contact/" title="Get a quote for your Drupal to WordPress migration"&gt;Get a Free Quote&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;/section&gt;</description><category>drupal</category><category>migration</category><category>planning</category><category>wordpress</category><guid>https://migratecontent.com/drupal-wordpress-migration-worksheet/</guid><pubDate>Mon, 25 Apr 2016 00:00:14 GMT</pubDate></item><item><title>Drupal to WordPress Image Migration</title><link>https://migratecontent.com/drupal-to-wordpress-image-migration/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>&lt;p&gt;If you're looking for a script to migrate images from Drupal to WordPress, check out Brendan Carr's &lt;a href="http://brendancarr.ca/drupal-6-to-wordpress-image-migration/"&gt;Drupal 6 to WordPress Image Migration plugin&lt;/a&gt;. Brendan used my &lt;a href="https://migratecontent.com/drupal-to-wordpress-migration-tool/"&gt;Drupal to WordPress Migration Tool&lt;/a&gt; and developed his plugin as a companion. He also confirmed that my web-based script is compatible with WordPress 4.&lt;/p&gt;

&lt;p&gt;If you need to migrate images from Drupal to WordPress, head over to &lt;a href="http://brendancarr.ca/drupal-6-to-wordpress-image-migration/" title="Drupal 6 to WordPress Image Migration plugin"&gt;his site&lt;/a&gt;.&lt;/p&gt;</description><category>drupal</category><category>images</category><category>migration</category><category>wordpress</category><guid>https://migratecontent.com/drupal-to-wordpress-image-migration/</guid><pubDate>Wed, 29 Jul 2015 18:22:43 GMT</pubDate></item><item><title>Post-migration steps: what to do after a Drupal to WordPress migration project</title><link>https://migratecontent.com/post-migration-steps-what-to-do-after-drupal-to-wordpress-migration-project/</link><dc:creator>Anthony Lopez-Vito</dc:creator><description>From time-to-time I get clients who ask me to only export the content to a WordPress database, after which they'll complete the remaining setup themselves. If this applies to your project, you can use these migration notes to help get your new WordPress site running properly.

&lt;h2&gt;Import the database dump file&lt;/h2&gt;

Please see &lt;a href="https://migratecontent.com/importing-wordpress-dump-file-after-drupal-to-wordpress-migration/"&gt;these notes&lt;/a&gt; for importing the WordPress dump file.

&lt;h2&gt;Administrator credentials and email address&lt;/h2&gt;

I will have changed your content management system (CMS) administrator password and email address to help with debugging. It's important that you change these to your own as soon as possible.

Drupal and WordPress user passwords are encrypted so I won't be able to view them. However, for your peace of mind, I recommend that you ask all your users to reset their passwords after your new WordPress site is live.

&lt;h2&gt;Server credentials&lt;/h2&gt;
Please remember to change any database, (S)FTP, SSH server and control panel credentials you may have given me.

&lt;h2&gt;Migrating to a live server&lt;/h2&gt;

I perform most Drupal to WordPress migrations on a development server. For help on how to move WordPress to your live server, please see: &lt;a href="http://codex.wordpress.org/Moving_WordPress"&gt;WordPress Codex: Moving WordPress&lt;/a&gt;.

&lt;h2&gt;Common errors after moving to a live server&lt;/h2&gt;

Please see below for some common errors you may experience after migrating your new WordPress site to a new server.

&lt;h3&gt;Incorrect domain in URLs&lt;/h3&gt;

WordPress stores domains in the database. If you performed the migration on a local or development server, there's a good chance that the links will be incorrect after migrating to your live server. Use the Interconnect IT utility to run a search and replace on your database. This will also correct changed database prefixes.

More information can be found on the interconnect/it &lt;a href="https://interconnectit.com/products/search-and-replace-for-wordpress-databases/"&gt;Search Replace DB page&lt;/a&gt;.

&lt;h3&gt;"You do not have sufficient permissions to access this page"&lt;/h3&gt;

If you receive this error after logging in to your new WordPress installation, it's possible that the database prefix on your new WordPress site is not set correctly. This may happen if you move your WordPress installation to a host that uses a different database prefix.

Try running one of the queries below. Replace wp_new_usermeta, oldprefix_ and newprefix_ as appropriate.

Option 1:
&lt;div class="codelisting"&gt;
UPDATE wp_new_usermeta SET meta_key = REPLACE(meta_key,'oldprefix_','newprefix_');

UPDATE wp_new_options SET option_name = REPLACE(option_name,'oldprefix_','newprefix_');
&lt;/div&gt;

Option 2:
&lt;div class="codelisting"&gt;
update wp_new_usermeta set meta_key = 'newprefix_usermeta' where meta_key = 'wp_capabilities';

update wp_new_usermeta set meta_key = 'newprefix_user_level' where meta_key = 'wp_user_level';

update wp_new_usermeta set meta_key = 'newprefix_autosave_draft_ids' where meta_key = 'wp_autosave_draft_ids';

update wp_new_options set option_name = 'newprefix_user_roles' where option_name = 'wp_user_roles';
&lt;/div&gt;

Please note that these queries may not work for you. Success depends on your specific setup.

For more information, please see the following pages:
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://wordpress.org/support/topic/you-do-not-have-sufficient-permissions-to-access-this-page-98"&gt;WordPress forums: You do not have sufficient permissions to access this page&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://stackoverflow.com/questions/13815461/you-do-not-have-sufficient-permissions-to-access-this-page-without-any-change"&gt;stackoverflow: You do not have sufficient permissions to access this page without any change&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Further help&lt;/h2&gt;

I'll be very happy to provide support you if have difficulties after migration. For a quotation, please &lt;a href="https://migratecontent.com/#contact"&gt;contact me&lt;/a&gt;. I also offer customised hosting and maintenance packages. Please ask for details.</description><category>drupal</category><category>migration</category><category>troubleshooting</category><category>wordpress</category><guid>https://migratecontent.com/post-migration-steps-what-to-do-after-drupal-to-wordpress-migration-project/</guid><pubDate>Sat, 20 Jun 2015 10:05:01 GMT</pubDate></item></channel></rss>