The JSON sitemap includes:
- Single posts
- Single CPT’s
- Author archives
- Term archives
- CT term archives
- Monthly archives
Plus, these special pages:
- Empty search results page
- Search results page with no results
- Search results page with pagination
- 404 page
You’ll need to have
WP_ENV defined in your WordPress config.
WP_ENV must be defined as the current environment:
If you use Bedrock,
WP_ENV is already defined in the config.
If you’re using Composer to manage WordPress, add json-sitemap to your project’s dependencies:
Or manually add it to your
Image Credits: Christopher Burns
The plugin is licensed under the MIT License. Install it with Composer!
Get notified about new releases of WordPress JSON Sitemap Generator.