I have launched a new gatsby site and am trying (unsuccessfully) to setup the redirects on Netlify.
https://leeds.independentlife.co.uk is the URL.
The site is a rebuild of an older site, and quite a lot of pages have been removed & link structures have been changed so redirects are essential.
I’m using gatsby-plugin-netlify to generate the _redirects file and everything looks good (files are correctly built), tested in Netlify's playground and all generated redirects are valid. After deploying to Netlify the deploy summary says that all the rules have been processed, but when I test the redirects i’m getting the 404 rather than the specified redirect page.
I have tried with 301, 301!, 404 & 404! but non of these have successfully enforced the redirect when tested in the browser.
Pretty URL’s is active too.
A basic example of what I am trying to achieve…
(the about us page no longer exists as a standalone page and should redirect to the homepage)
The _redirects rule for this is:
/about-us/ / 404! ignoreCase=false
Might be worth mentioning that i am manually building this locally and manually deploying to Netlify.
Any pointers on why this could be happening/what I’m doing wrong would be massively appreciated.