Home / Companies / Netlify / Blog / Post Details
Content Deep Dive

Setting up redirects on Netlify

Blog post from Netlify

Post Details
Company
Date Published
Author
Charlie Gerard
Word Count
345
Company Posts That Month
41
Language
English
Hacker News Points
-
Summary

Netlify has introduced a feature that allows users to set up redirects in their apps, making it easier to expose Netlify Functions as an API. To do this, users can create a `_redirects` file in the publish directory of their site, defining the redirects with a specific syntax. This feature also includes additional options such as HTTP status codes, query parameters, and redirect by country or language. Another way to set up redirects is via the `netlify.toml` file, which provides more flexibility for complex applications. The new feature aims to improve user-friendliness and encourage users to deploy their domains and use Netlify Functions.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Developer Experience 1 219 103 41 +14%