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!