From 663203fbb6cb8fca79f4f0838cdfc95c210157d6 Mon Sep 17 00:00:00 2001 From: Kyle Gach Date: Wed, 26 Jan 2022 21:15:16 -0700 Subject: [PATCH] Update redirects-rewrites.md Correct what seemed to be a minor typo --- docs/redirects-rewrites.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/redirects-rewrites.md b/docs/redirects-rewrites.md index e54c106380..8fc8ed4e73 100644 --- a/docs/redirects-rewrites.md +++ b/docs/redirects-rewrites.md @@ -22,7 +22,7 @@ Netlify and Next.js redirects support different features and are evaluated at di - If you need redirects or rewrites to be applied before loading static files, you must use Netlify redirects and rewrites. ### When to use Next.js redirects or rewrites: -- 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. +- 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. - If you need Next.js-specific features such as regex path or header matching, you must use Next.js rewrites. ### Using `_rewrites` and `_headers` files