A super straight forward workflow for using Devkit to push a wordpress headless demo to a live WP Engine install. We’re going to be using an existing project called Celestial (source) that uses WordPress’s theme convention to load the react.js code. Full WP Engine Devkit quick-start Guide here.
Often, when pushing a WordPress site from a local or staging environment to a live site, you’ll need to search/replace the domain throughout the database. In most cases, you could use a plugin like Better Search Replace, or if you’re familiar with WP-CLI, you would use this command in your terminal: Easy peasy. There’s a […]
You should probably not use this form until you’ve read the full article. If you’ve been here before and know what you’re doing, go right ahead… What’s the generator for? One neat way to run WordPress headlessly is by uploading a compiled version of your React.js site to a folder alongside your WordPress install. One […]
First you’ll want to rename all files to be lowercase. Here is a command you can run from your linux terminal to RECURSIVELY (all subdirectories within the one you are in will be affected): Next you’ll want to add the following to the Nginx configuration of your site (you may need to contact support to […]
WITH 403: To restrict a path from public access (returning a 403 page), just add this to your nginx configuration (or ask your hosting provider): WITH REDIRECT: To restrict a path from public access (redirecting to another page, like a login form), just add this to your nginx configuration (or ask your hosting provider): NOTE: […]