From d16ff74a3bb31da2fdfd9b593d51c7e58afde9e9 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelbaset Date: Fri, 12 Jan 2024 23:08:41 +0200 Subject: [PATCH] docs: small fix in Redirecting page (#60583) ref: #60435 --- .../01-building-your-application/01-routing/06-redirecting.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/02-app/01-building-your-application/01-routing/06-redirecting.mdx b/docs/02-app/01-building-your-application/01-routing/06-redirecting.mdx index 98c232eaad862..183a4b7d20356 100644 --- a/docs/02-app/01-building-your-application/01-routing/06-redirecting.mdx +++ b/docs/02-app/01-building-your-application/01-routing/06-redirecting.mdx @@ -72,7 +72,7 @@ See the [`redirect` API reference](/docs/app/api-reference/functions/redirect) f ## `permanentRedirect` function -The `permanentRedirect` function allows you to **permanently** redirect the user to another URL. You can call `redirect` in [Server Components](/docs/app/building-your-application/rendering/server-components), [Route Handlers](/docs/app/building-your-application/routing/route-handlers), and [Server Actions](/docs/app/building-your-application/data-fetching/server-actions-and-mutations). +The `permanentRedirect` function allows you to **permanently** redirect the user to another URL. You can call `permanentRedirect` in [Server Components](/docs/app/building-your-application/rendering/server-components), [Route Handlers](/docs/app/building-your-application/routing/route-handlers), and [Server Actions](/docs/app/building-your-application/data-fetching/server-actions-and-mutations). `permanentRedirect` is often used after a mutation or event that changes an entity's canonical URL, such as updating a user's profile URL after they change their username: