Netlify Automatically Adding Trailing Slash on Page Reload (Causing Google SEO Redirect Issues)

Hi everyone,

I’m having an issue on my Netlify-hosted site where a trailing slash is automatically added after the page reloads. For example:

  • I open: https://example.com/page

  • After refreshing, Netlify changes it to: https://example.com/page/

Because of this, Google Search Console is showing redirect warnings, saying that the URL is being redirected due to the added slash. This is starting to affect SEO and indexing.

I am not using any _redirects file or netlify.toml configuration. I’m managing my site only through the Netlify dashboard, so I don’t have any redirect rules set manually.

Has anyone else faced this issue? Is there a way to stop Netlify from forcing the trailing slash when no redirect configuration exists?

Any help or suggestions would be greatly appreciated.

Thanks!

Hi everyone, I’m facing an issue on my Netlify site. When I reload a page like https://example.com/page, Netlify automatically adds a slash and turns it into https://example.com/page/. Because of this, Google Search Console is reporting redirect warnings and it’s hurting my SEO. I’m not using any _redirects file or netlify.toml, and there are no manual rules set. Has anyone dealt with this before? Is there a way to stop Netlify from forcing the trailing slash? Any guidance would really help.

With the site URL being shared as example.com, there’s not much we can check. Please share the real URL.