Hey all, I have been having trouble getting redirects to work when defined in the netlify.toml file, but they seem to work when defined in a
_redirects file instead. Here’s a link to the toml file I tried in the past:
I instead had to replace it with:
I was following Kent C. Dodds’ tutorial for the URL shortener and forked his project which contains a netlify.toml that seems to work for him and I assume others since I haven’t seen any mention of problems. Here is his toml file that I forked:
It works for him in his tutorial but not when I do it.
Is there a setting somewhere to properly enable redirects when creating a project? Here is the site that I’m following the tutorial with: https://ct-short-link.netlify.com/