The following example shows how to filter query parameters in your Middleware.
Your middleware file should be placed at the root of your project. If you are using the src directory, the file should be placed in the src directory.
Learn how to filter query parameters in your Middleware.
The following example shows how to filter query parameters in your Middleware.
Your middleware file should be placed at the root of your project. If you are using the src directory, the file should be placed in the src directory.
Instructions on how to use Serverless Functions to handle redirects on Vercel.
This guide covers performance and usage considerations when building and deploying your Next.js and Sitecore JSS application.
Learn how to create redirects that update instantly without redeploying by storing rules in Global Config and reading them from your Next.js proxy.