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

WordPress Gatsby template

WordPress Gatsby template for EdgeOne Pages

View Demo

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