Sitemaps in Headless WordPress with Next.js

preview_player
Показать описание
Blog Post:

Github:

Headless WordPress resources:

CONTENTS:
00:00 - Intro
00:42 - What are Sitemaps and what are their benefits?
02:46 - Configuring WordPress with the Sitemap REST API plugin
05:23 - Declaring environment variables
09:31 - Creating a Sitemap Index Page
11:16 - Seeing the sitemap index page on the browser
11:53 - Making dynamic routes work in the sitemap
13:15 - Creating a dynamic route file for the sitemap
15:30 - Seeing the dynamic route path in the browser
19:54 - Seeing the final sitemap with all paths and pages
20:40 - Outro
Рекомендации по теме
Комментарии
Автор

What questions do you have about sitemaps in Headless WP? Let us know! 👇

WPEngineBuilders
Автор

does this work for a large woocommerce site?

alexkey
Автор

I think the simple way to account for the Next.js pages on the frontend would be just create the same pages in the WP.

dipankarmaikap
Автор

Would this work for custom post types?

CompSciCentral