Skip to content

Commit 6c8808e

Browse files
authored
Remove outdated & possibly confusing statement about redirects (#33224)
## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint` The statement I have removed may be misleading. A colleague of mine has interpreted it as ‘we need to create a custom page or `<Link href="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/redirect-path" />` won’t work on the client’. I just ran `npx create-next-app --example redirects redirects-app` and confirmed that this was not necessary. So saying that redirects “do not affect client-side routing” is probably wrong. They do and they do it the right way.
1 parent 3ee3ec3 commit 6c8808e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/api-reference/next.config.js/redirects.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ description: Add redirects to your Next.js app.
2323

2424
Redirects allow you to redirect an incoming request path to a different destination path.
2525

26-
Redirects are only available on the Node.js environment and do not affect client-side routing.
27-
2826
To use Redirects you can use the `redirects` key in `next.config.js`:
2927

3028
```js

0 commit comments

Comments
 (0)