Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
<DontEditWarning />


> **InvalidRedirectDestination**: The redirect from "FROM" to "TO" is invalid. The destination "TO" does not match any existing route in your project.
> **Example error message:**<br/>
InvalidRedirectDestination: The redirect from "/posts" to "/blog" is invalid. The destination "/blog" does not match any existing route in your project.

## What went wrong?
A dynamic redirect destination must match an existing route pattern.
A dynamic redirect destination must match an existing route pattern and include
all dynamic parameters from the source route.
This error occurs when a redirect with dynamic parameters points to a destination
that doesn't correspond to any page in your project.
that doesn't correspond to any page in your project, or when the destination route
has fewer dynamic parameters than the source route.

**See Also:**
- [Configured redirects](/en/guides/routing/#configured-redirects)
Expand Down
Loading