-
Notifications
You must be signed in to change notification settings - Fork 0
WordPress Migration
WordPress is a legacy CMS (Content Management System) originally for blogs with the underlying architecture of PHP. With more plugins and templates built by the community, such as subscription form, payment, on-page SEO, etc, now it can be also used for business portfolios, eCommerce, even mobile apps.
Traditional WordPress is a monolith system which integrates everything tightly. The website is often limited to its themes pre-built with CSS, HTML and Javascript. Performance and scalability are impacted by its monolithic architecture with unscalable plugins. Security is another concern.
Headless WordPress decouples frontend and backend with the WordPress' REST API, so the frontend could be built in React, VueJS, Angular, etc.
Not all used plugins provide the REST API for the frontend to use.
REST or GraphQL APIs provide better agility, allow to use best of breed stacks, upgrade components promptly and independently.
The list of modern headless CMS
- Prismic
- Contentful
- Sanity
Migration Steps
- Retrieve original data
- Prepare content data
- Import data
Tools -> Site Health
package.json
- Check "homepage" entry
404 on api calls
- Check yourwebsite.com/wp-json/ or yourwebsite.com/index.php?rest_route=/ to see if any json data are returned. If not, check your Settings -> Permalinks to see if it needs to use "Post name" or "Custom Structure".