diff --git a/create/redirects.mdx b/create/redirects.mdx index c084c5440..752f008e5 100644 --- a/create/redirects.mdx +++ b/create/redirects.mdx @@ -32,6 +32,16 @@ To match a wildcard path, use `*` after a parameter. In this example, `/beta/:sl ] ``` + + The destination slug cannot match to the source slug. For example, if your docs are hosted at `/docs`, avoid: + ```json + { + "source": "/docs/:slug*", + "destination": "/:slug*" + } + ``` + + ## Broken links Catch broken links with our CLI. [Install the CLI](/installation) and run the command: