Skip to content

Example: create a custom sitemap from WordPress (pages/apollo) #30

@colinmurphy

Description

@colinmurphy

User Story

As a developer I want an example of how to build a sitemap with the toolkit using a custom GraphQL endpoint that leverages built in sitemap functionality, to improve website SEO.

Acceptance Criteria

  • A custom WordPress plugin that exposes WordPress sitemap data in WPGraphQL.

Notes

As per RFC #17 we need to supply examples and documentation on how to create your own custom sitemap from a data API endpoint in a headless application.

We will use WP GraphQ:L to query data and create the custom sitemap. We will also consider best approaches in terms of caching the sitemap as well.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions