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

Chris Biscardi
InstructorChris Biscardi

Share this video with your friends

Send Tweet
Published 2 years ago
Updated a year 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.