Self::starter

Add sitemap

It’s about time you add a sitemap to your headless WordPress site for crawlers and those listening in on their RSS readers. Here are the steps.

Install gatsby-plugin-sitemap

yarn add gatsby-plugin-sitemap

Update gatsby-config.js

module.exports = {
  siteUrl: `https://temptemp3.github.io/hdlesswp/`,
  },
  plugins: [
    `gatsby-plugin-sitemap`,
  ]
}

Sources

Next: Add robots

Previous: Add analytics

...