Next.js Discord

Discord Forum

Edge Middleware

Unanswered
English Angora posted this in #help-forum
Open in Discord
Avatar
English AngoraOP
We use middleware as like in Vercel Platforms. We have like 200+ domains.

Our users generally migrate from php to our platform, and we want to remove old routes that bots try(like /category.php).
Can we exclude routes with matcher that is like in the image? We didn't published in to prod right now.
Image

3 Replies

Avatar
English AngoraOP
Image
or
Image
Avatar
English AngoraOP
Would love help guys! 😄