Domain-level redirect doesn't work as expected


I want to redirect my old domain to the new one using the below setting in the _redirects file located in my root folder.* 301!* 301!

Also, I’ve added my old domain as an alias:

Unfortunately, → doesn’t work.
Moreover, no other routes redirect as well.

The only redirect works as →

Any help is appreciated.

How many redirects are in the _redirects file and how many redirects are shown as processed on the deploy?


1 Like

The issue was that, _redirects was not in my build folder.
Though, instead of using _redirects, I used the below netlify.toml

  from = "*"
  to = ""
  status = 301
  force = true