Using _redirects files on Netlify to make .netlify function URLs more user-friendly

Chris Biscardi
InstructorChris Biscardi
Share this video with your friends

Social Share Links

Send Tweet
Published 5 years ago
Updated 3 years ago

Netlify functions are shipped at .netlify/functions/<function-name>. Our users will want a shorter, more memorable URL, so let's give that to them using redirects. This redirect also lets us swap our our function at any time so that users aren't writing the direct path to the function into their production sites.