Wordpress 2 Strapi

screenshot of Wordpress 2 Strapi

Wordpress to strapi one-time conversion code

Overview:

The purpose of this repository is to enable the migration of content from a WordPress website to a Strapi headless CMS repository. The migration strategy is tailored to the specific WordPress site in question, taking into account custom content types, plugins, themes, shortcodes, and table structures.

Features:

  • Migrate All Content: The repository allows for the migration of all content types, including pages, posts, comments, and attachments.
  • Image and File Migration: All images and files related to posts are migrated to the Strapi repository.
  • URL Conversion: URLs inside the content that point to local WordPress endpoints are converted to their new Strapi endpoints.
  • Retain Featured Images: Posts retain their featured images during the migration process.
  • Markdown Conversion: Content is converted to markdown format during the migration.
  • Sequential Migration: The code is designed to be run sequentially multiple times without breaking things or duplicating content in Strapi.

Summary:

The wordpress-2-strapi repository is a migration tool specifically designed to migrate content from a WordPress website to a Strapi headless CMS repository. It takes into account the specific requirements of the WordPress site, supporting the migration of custom content types, plugins, themes, shortcodes, images, and files. The code is provided as a throw-away code for the migration process and may not work for other websites. It is recommended to use it with caution and at your own risk.