diff --git a/docs/api-reference/next.config.js/rewrites.md b/docs/api-reference/next.config.js/rewrites.md index 6572a3b803118..f9ca6aaa97181 100644 --- a/docs/api-reference/next.config.js/rewrites.md +++ b/docs/api-reference/next.config.js/rewrites.md @@ -79,7 +79,7 @@ module.exports = { // and dynamic routes are checked { source: '/:path*', - destination: 'https://my-old-site.com', + destination: `https://my-old-site.com/:path*`, }, ], }