Domain redirects

I need two redirects. One for a section /join, and another for the whole domain /
Redirecting /join works just fine, but I can’t redirect the whole domain
I’m using Hugo, and I put the following in _redirects

/join https://www.yahoo.com/
/ https://www.google.com/

I also tried to add both to config.toml, but then it didn’t work at all. Currently, my redirects are only defined in _redirects

Thank you for your help!

Hi :wave:t6:, welcome to the Netlify forums! First did you see this guide on debugging redirects? I strongly suggest you give it a thorough read through and see if this fixes your problem.

Next, did you make sure the _redirects file is in the correct location and is being deployed to Netlify? Did you define your redirect to the the config.toml? If so take it out it’s not necessary.

Finally, It would be helpful if you attached your repo as well or build/deploy log.

Thanks so much!