I am trying to get what I think is a simple rewrite working, but I may be completely misusing the feature…
Firstly I have 2 netlify sites. One is our main site built using gatsby. A second site is just a _redirects file that I would like to rewrite to a single page on the main site. Previously this was a redirect but I would prefer a rewrite if it is possible.
The rewrite file looks like this for the smaller site.
Further to the above here is the updated link to the redirects file as I discovered there was an extra redirect due to a lack of trailing slash. However I still have a redirect where I would like a rewrite if possible!
That’s right, it appears to be 301’ing. I’ve tried testing this on a test repo but I’m not actually able to replicate. I’ll share with my peers and feed back when I know more
What I will say is that your secondary site (https://thec3.academy) has zero content and it’s being used purely for the redirect. Additionally, your DNS is not at Netlify. You may find that your domain registrar/DNS provider offers stealth forwarding or URL cloaking, allowing you to rewrite without having this secondary, almost empty repo