Static routing overview
Routing allows you to manage the traffic to and from your Netlify site.
You can enable powerful static routing features like redirects, rewrites, and proxies by defining rules in a site’s _redirects
file or Netlify configuration file. As requests come in from site visitors, our CDN edge nodes evaluate these rules, pointing visitors to different paths or rewriting paths based on options or conditions like preferred language or current location. Rules can proxy an incoming request to another website or to execute a serverless function.
You can also define custom headers sent in response to site requests. These are controlled in a _headers
file or Netlify configuration file for each Netlify site.
Build Plugins can dynamically access and modify a site’s redirects, headers, and other build configuration options during the build.
Did you find this doc useful?
Your feedback helps us improve our docs.