I’m migrating our Gatsby project from Netlify to Cloudflare Pages.
My website is currently hosted on Netlify
We have had a clean URL structure on Netlify (without slash at the end) and I want to keep it that way for the best SEO performance. To achieve this on Netlify we just had to disable the “Pretty URL” option (can’t post a link, sorry).
However, Cloudflare Pages adds a redundat 308 redirect and a slash at the end of the URL:
This lowers our Lighthouse Speed scores:
And may cause other unwanted issues (SCHEMA, crawling and indexing issues for search engines). Since our project is strictly focused on top SEO performance, we can not allow this.
Do you have any ideas how to solve this problem?