DEV Community

Discussion on: Client-Side and Server-Side Redirects in Next.js

justincy profile image
Justin Author

You are correct in that you can't use both. This guide was back when only getInitialProps existed. I'll add a note to the top about that.

southclaws profile image

I did figure it out though, thanks to the article I got the general idea of how it should work so thanks!

Thread Thread
atm profile image

Did you do it per page? Or did you use SSP on an HOC?