WordPress Setup¶
Configure your WordPress installation to work with NextPresser as a headless CMS.
Requirements¶
- WordPress 6.0 or higher
- WPGraphQL plugin installed and activated
- SSL certificate (recommended for production)
Installation Steps¶
1. Install WPGraphQL¶
WPGraphQL is required for NextPresser to communicate with WordPress.
- Navigate to Plugins → Add New in your WordPress admin
- Search for "WPGraphQL"
- Install and activate the plugin
- Verify installation by visiting
/graphqlendpoint
2. Configure Permalinks¶
- Go to Settings → Permalinks
- Select "Post name" or "Custom Structure"
- Save changes
3. Set Up CORS¶
Configure CORS settings to allow your Next.js frontend to access the WordPress API.
GraphQL Endpoint¶
Your GraphQL endpoint will be available at: