Skip to content

Commit c071644

Browse files
committed
chore: improve wording
1 parent c5faad8 commit c071644

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/redirects-rewrites.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Every site on Netlify supports [redirects and rewrites](https://docs.netlify.com
88
Rewrites and redirects are applied in the following order:
99

1010
1. Redirects and rewrites in the `_redirects` file. These are read in order until a match is found, and then processing stops.
11-
2. Redirects and rewrites in the `netlify.toml` file. These are read in order until a match is found, and then processing stops.
12-
3. Auto-generated redirects and rewrites. These are generated by the plugin are required for the site to function.
13-
4. Next.js redirects and rewrites. These are defined in the `next.config.js` file, and are applied after all others have been processed.
11+
2. Redirects and rewrites in the `netlify.toml` file. None of these are read if one previous rules has already matched.
12+
3. At this point, if the request targets a static file then it will be returned, without the Next.js redirects or rewrites being evaluated.
13+
4. Any request that does not target a static file will then be passed to Next.js, which will then evaluate redirects and rewrites. These are defined in the `next.config.js` file.
1414

1515
## General principles
1616

0 commit comments

Comments
 (0)