Products
Manager UI
Manager Redirects in Next.js
Load manager controlled redirects from zesty.io in next.js
Zesty provides a function, fetchZestyRedirection
, as seen here https://github.com/zesty-io/nextjs-starter/blob/main/lib/zesty/fetchRedirects.js, load this function inside of next.config.js and place it as the return results next async redirects()
function.
If you wish to combine redirects from multiple sources, fetch the await fetchZestyRedirects()
into a separate variable and join the array https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/concat
Example of joining zesty redirects to your customer redirects.
Connect with Content Experts
Book a free 15-minute consultation with a content expert. Discuss your application, pain points and requirements. Understand how Zesty's lower total cost of ownership, features, functionality can elevate your business by creating extraordinary digital experiences.
Trusted By
G2 MOMENTUM LEADER