Redirect to new domain showing $request_uri instead of working properly

Hi team,

I’ve been trying to redirect my old site corkincolour.co.nz (hosted via Netlify) to my new domain corkit.co.nz.

I’ve uploaded a _redirects file that contains this line:

ruby

CopyEdit

/*  https://corkit.co.nz/:splat  301!

It says “1 redirect rule processed” when I deploy, but when I visit the site, it redirects to:

bash

CopyEdit

https://corkit.co.nz$request_uri/

I’ve tried:

  • Redeploying several times
  • Making sure _redirects is in the root
  • Turning off Cloudflare proxy (grey clouds)
  • Using different combinations of folders and deploys

The domain is currently connected to the Netlify project dulcet-khapse-bc4673, and the custom domain in use is corkincolour.co.nz.

Can someone please help trace where this $request_uri is being injected and how I can fix it? I just want a clean, permanent redirect to corkit.co.nz.

Thanks in advance,
Toni

I’m getting a page not found and not what tou describe. Could you let me know where I can check this?