Adding sitemap to Gatsby for better Google search results

Gatsby Notes and Questions about sitemap

Andys.Pro 安迪
Andys.Pro TV
Published in
1 min readOct 10, 2020

--

Today, I’m adding the sitemap for https://julies.pro for Google to have a better SEO. Two plugin occurs to me that will do the job, gatsby-plugin-sitemap and gatsby-plugin-advanced-sitemap.

I’m not sure which is better so I leave my question on reddit: https://www.reddit.com/r/gatsbyjs/comments/hq4aao/sitemap_customization_and_images/g8akyea?utm_source=share&utm_medium=web2x&context=3

Some said that the advanced one is way better without a reason: https://www.reddit.com/r/gatsbyjs/comments/d301bl/can_not_get_my_sitemap_to_work/

Here are some tutorial about the sitemap plugin:

  1. https://joshwcomeau.com/gatsby/seo-friendly-sitemap/
  2. https://www.digitalocean.com/community/tutorials/building-a-custom-sitemap-for-your-gatsbyjs-site

The advanced plugin is with less tutorial. But I like how it is designed for human to read.

I’m testing out the advanced plugin for now.

--

--

Andys.Pro 安迪
Andys.Pro TV

Coding Meteor, React Native, JS and Python! Feel free to comment and chat about codes!