Skip to content

Commit

Permalink
fix typo path in routing.mdx (#8993)
Browse files Browse the repository at this point in the history
  • Loading branch information
liruifengv authored Aug 2, 2024
1 parent a47e02d commit 1072521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/routing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ A rewrite allows you serve a different route without redirecting the browser to
For content that has permanently moved, or to direct your user to a different page with a new URL (e.g. a user dashboard after logging in), use a [redirect](#redirects) instead.
:::

Rewrites can be useful for showing the same content at multiple paths (e.g. `/products/shoes/men/` and `/products/men/shoes`/) without needing to maintain two different source files.
Rewrites can be useful for showing the same content at multiple paths (e.g. `/products/shoes/men/` and `/products/men/shoes/`) without needing to maintain two different source files.

Rewrites are also useful for SEO purposes and user experience. They allow you to display content that otherwise would require redirecting your visitor to a different page or would return a 404 status. One common use of rewrites is to show the same localized content for different variants of a language.

Expand Down

0 comments on commit 1072521

Please sign in to comment.