We have a blog post for how to setup redirects here:
Note there are two ways, using a _redirect file or a netlify.toml file.
You can also find more information regarding redirects here:
and a Support Guide here:
For the redirects you mentioned, please make sure that the netlify.toml file is in the root directory of your project and is correctly named. Netlify expects this file to be in the root directory to read and apply the rules.