The most up to date way to do redirects in Next.js (2/15/2023)

Hi everyone!

I wanted to drop this here to make sure anyone who is making redirects in Next.js have this information really easily.

Check it out.

In your next.config.js file:

Love,

Miche

--

--

building the future of the internet

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store