Redirection not working as expected

Hi, I’ve set one redirection in my netlify.toml but it seems that its not working
Netlify.toml

[[redirects]]
  from = "https://crossfit-compet-scanner.netlify.app/*"
  to = "https://crossfit-event-scanner.fr/:splat"
  status = 301
  force = true

Site ID: crossfit-compet-scanner

Thank you

Hi @fermaud , thanks for the post and welcome.
kindly change the code to the content below to see if it works.
Let me know the outcome.

[[redirects]]
  from = "/*"
  to = "https://crossfit-event-scanner.fr/:splat"
  status = 301
  force = true

Hi @clarnx , I’ve just update it and it still does not work …

Thanks for the update.
Which folder are you placing the netlify.toml file?
Also if possible can you share a repository for me to help with the debugging.
Thanks.

I’ve placed it at root.
Yes no problem can you provide me your Github username ?

Hi @fermaud, thanks for sharing.
I took a look at the netlify.toml file. Kindly change to the content below

[[redirects]]
  from = "/*"
  to = "https://crossfit-event-scanner.fr/:splat"

If the above does not work, kindly use the _redirects file instead of the netlify.toml file.
Place the _redirects file in your public folder.

Check the link below on how to configure the _redirects file.