Skip to content

Commit b046ef5

Browse files
authored
docs: rename _rewrites to _redirects as _rewrites does not seem to be used (#1895)
1 parent d0343b8 commit b046ef5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/redirects-rewrites.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ so there are some considerations in deciding which one to use with your site.
5050
only applies to rewrites, not redirects.
5151
- If you need Next.js-specific features such as regex path or header matching, you must use Next.js rewrites.
5252

53-
### Using `_rewrites` and `_headers` files
53+
### Using `_redirects` and `_headers` files
5454

55-
If you are using `_rewrites` or `_headers` files rather than a `netlify.toml` file, bear in mind that these files must
55+
If you are using `_redirects` or `_headers` files rather than a `netlify.toml` file, bear in mind that these files must
5656
be in the published directory of your site, not the root of the repo. To do this, put them in `public` and they will be
5757
moved into `.next` at build time. Do not put them directly into `.next`, because it is emptied at build time. Any
58-
`_rewrites` or `_headers` files in the root of the repo will not be found when deployed.
58+
`_redirects` or `_headers` files in the root of the repo will not be found when deployed.

0 commit comments

Comments
 (0)