• Product
  • Solutions
  • Developers
  • Demo
  • Promotion
  • Company
EdgeOne Logo
Back to Templates

Blog with Gatsby and WordPress

WordPress Gatsby template for EdgeOne Pages

Framework

WordPress, Gatsby.js

WordPress Gatsby template for EdgeOne Pages

Boost WordPress Site Speed: Deploy to EdgeOne Pages

This example demonstrates how to deploy a WordPress site to EdgeOne Pages to enhance access speed.

Preparations

Set up a WordPress service and log in to the console http://xxx.com/wp-admin

Install and enable the following plugins:

  • WPGraphQL
  • WP Gatsby

Local Development

# Add .env file and write environment variables
GATSBY_API_URL=http://xxx.com/graphql

# Install dependencies
npm i

# Local debugging
npm run start