Skip to main content

Divi 5 Migration Tool

Divi Machine’s Divi 5 Migration Tool unifies older Divi Machine / shop-loop shortcode slugs in your database so Divi’s own Divi 5 migrator can convert layouts cleanly. It does not replace Divi’s migrator.

warning

Back up your database before you run this tool. The shortcode replacement cannot be undone.

When to use this tool

Use it if the site still has Divi 4 layouts that include Machine Loop, Machine title/thumbnail shortcodes, or older shop-loop variants.

If you are building a new Divi 5 site, skip this guide and start from Installation instead.

  1. Back up the database (and files if you prefer a full restore point).
  2. Run Divi Machine → Tools → Divi 5 Migration Tool (Start Migration) before upgrading to Divi 5 when possible.
  3. Update to Divi 5.
  4. Run Divi’s Divi 5 migrator.
  5. Re-save any Divi Library custom loop layouts called out in the Machine admin notice.
  6. Spot-check archives, singles, and search results on the front end.

Open the Machine migration tool

  1. Go to Divi Engine → Divi Machine.
  2. Open Tools → Divi 5 Migration Tool.
  3. Read the on-screen warnings.
  4. Click Start Migration.

Direct hash: admin.php?page=divi-engine#divi-machine/migrate.

On success you should see a count of updated posts and meta rows (for example: migration completed with N posts and M meta rows).

You need the manage_options capability to run the tool.

What Machine’s tool does vs Divi’s migrator

Divi Machine Migration ToolDivi’s Divi 5 migrator
PurposeReplace legacy shortcode slugs in post content and post meta (including serialized data)Convert Divi 4 module markup to Divi 5
WhenPreferably before Divi 5After Divi 5 is active
ReversibleNo — restore from backupFollow Divi’s own process

Shortcode mapping

Machine’s tool rewrites these slugs (among related shop variants):

From (legacy)To (unified)
et_pb_de_mach_archive_loop (Machine Loop)et_pb_db_filter_loop (Archive Loop)
et_pb_db_shop_loopet_pb_db_filter_loop
et_pb_de_mach_titleet_pb_df_title
et_pb_db_product_titleet_pb_df_title
et_pb_de_mach_thumbnailet_pb_df_thumbnail
et_pb_db_shop_thumbnailet_pb_df_thumbnail

After migration on Divi 5, use the Archive Loop module for results grids. Configure Archive Loop settings in that reference (bundled Ajax Filter)—this page covers the migration workflow only.

Re-save Divi Library loop layouts

After Divi 5 is active, Machine may show an admin notice listing Divi Library layouts used as custom loop layouts that are still stored in Divi 4 format and contain modules (such as Category Loop or Repeater) that can appear as raw shortcode until each layout is opened and saved again.

  1. Open the notice’s Open Divi Library link (or go to Divi → Divi Library).
  2. Edit each listed layout in the Visual Builder.
  3. Save the layout (no content change required beyond a successful save).
  4. Dismiss the notice when finished.

Risky shortcodes the notice watches for include Category Loop, legacy Machine Loop / Archive Loop shortcodes, and Repeater inside library layouts.

Verify

On the front end, confirm:

  • Archive and taxonomy templates show the loop (not blank cells or raw shortcode text)
  • Custom loop cards still show Custom Field Item / meta / thumbnails
  • Search results and filtered pages still load the correct post type

Troubleshooting

SymptomWhat to try
Blank Archive Loop after migrateConfirm post type is still selected on the loop; re-save the page and any linked Divi Library loop layout. See Archive Loop.
Raw shortcode text on the pageRun Machine’s tool if you skipped it; re-save the Theme Builder / Library layout that contains the shortcode.
Missing posts / wrong CPTCheck Divi Machine → Post Types and permalinks; flush permalinks under Settings → Permalinks.
Nested Category Loop / Repeater looks unstyledRe-save the Divi Library layout listed in the admin notice.

Machine can still render some unmigrated Divi 4 loop shortcodes on Divi 5 as a compatibility path, but you should finish migration and re-save layouts rather than relying on that forever.

What's Next