Skip to content

Commit c2166d6

Browse files
kylegachkodiakhq[bot]ascorbic
authored
Update redirects-rewrites.md (#1170)
Correct what seemed to be a minor typo Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Matt Kane <[email protected]>
1 parent 16d112a commit c2166d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/redirects-rewrites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Netlify and Next.js redirects support different features and are evaluated at di
2222
- If you need redirects or rewrites to be applied before loading static files, you must use Netlify redirects and rewrites.
2323

2424
### When to use Next.js redirects or rewrites:
25-
- If you are using a _rewrite_ that points to a dynamic Next.js page, you must use Next.js rewrites. Next.js has no way of knowing what the rewritten page is when using Netlify rewrites, so the wrong page is likely to be rendered. This only applies to redirects, not rewrites.
25+
- If you are using a _rewrite_ that points to a dynamic Next.js page, you must use Next.js rewrites. Next.js has no way of knowing what the rewritten page is when using Netlify rewrites, so the wrong page is likely to be rendered. This only applies to rewrites, not redirects.
2626
- If you need Next.js-specific features such as regex path or header matching, you must use Next.js rewrites.
2727

2828
### Using `_rewrites` and `_headers` files

0 commit comments

Comments
 (0)