Repository: vercel/next.js
Pull request: Fix typo in documentation

<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:

## For Contributors

### Improving Documentation

- Run `pnpm prettier-fix` to fix formatting issues before opening the PR.
- Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide

### Fixing a bug

- Related issues linked using `fixes #number`
- Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md

### Adding a feature

- Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas)
- Related issues/discussions are linked using `fixes #number`
- e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md


## For Maintainers

- Minimal description (aim for explaining to someone not on the team to understand the PR)
- When linking to a Slack thread, you might want to share details of the conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic behind a change

### What?
Corrected a typo in the `redirects.mdx` documentation.

### Why?
The comment for the `x-do-not-redirect` header incorrectly stated `x-dont-redirect`. This PR updates the comment to match the actual header name for consistency and clarity.

### How?
Modified line 161 in `docs/01-app/03-api-reference/05-config/01-next-config-js/redirects.mdx` from `x-dont-redirect` to `x-do-not-redirect`.

Closes NEXT-
Fixes #
-->

---
[Slack Thread](https://vercel.slack.com/archives/C09P3BYAD7W/p1762978463766399?thread_ts=1762978463.766399&cid=C09P3BYAD7W)

<a href="https://cursor.com/background-agent?bcId=bc-eb67e8d3-17fe-4af2-8f74-d93bf659c809"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in Cursor" src="https://cursor.com/open-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?id=bc-eb67e8d3-17fe-4af2-8f74-d93bf659c809"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web" src="https://cursor.com/open-in-web.svg"></picture></a>



Changed files:
filename: docs/01-app/03-api-reference/05-config/01-next-config-js/redirects.mdx
patch: @@ -158,7 +158,7 @@ module.exports = {
         permanent: false,
         destination: '/another-page',
       },
-      // if the header `x-dont-redirect` is present,
+      // if the header `x-do-not-redirect` is present,
       // this redirect will NOT be applied
       {
         source: '/:path((?!another-page$).*)',