_redirects is not working on production

on my _redirects file,

/editor / 200

/editor.html / 200

this works on localhost perfectly, but does not seem to work on live site

@rdaahal It’s working fine, you just need to configure it correctly. :slight_smile:

Because there is a file at editor.html, you have to force the redirect. Otherwise, Netlify will serve the file that exists.

You probably want one of these:

/editor / 200!
/editor / 301!
/editor / 302!

Refer to the document linked above to see which code is most appropriate for your situation.

2 Likes