DEV Community

[Comment from a deleted post]
Collapse
 
jon_fm profile image
Jon Sullivan

Greetings 👋🏻

Respectfully (and as a Netlify Pilot), I'd strongly encourage readers to not change Netlify's Pretty URLs functionality and instead to understand the root of the issue here. Disabling Pretty URLs can cause content on a Netlify site to serve its content on both the trailing slash and non-trailing slash URLs which means duplicate content and bad SEO.

We discussed this at length in the following thread under the Gatsby repository and I wrote a subsequent article that covers the depths of it.

Repo discussion: github.com/gatsbyjs/gatsby/discuss...

Article: jonsully.net/blog/trailing-slashes...

Cheers!

Jon Sully

Collapse
 
po0q profile image
pO0q 🦄

I believe you.