DEV Community

Discussion on: Deploy Next.js project to Netlify

Collapse
 
techno_wise1 profile image
sudip lahiri

Hi Kristian,
I have deployed one next js site to netlify. Site is opening properly but when I have try to browse contact page from heading ..it shows 404 error where as in localhost the contact page getting opened with contact form and googlemap
what could be the error.
-SL

Collapse
 
taylorpage71 profile image
Taylor Page

You may want to look into Netlify's documentation on site redirects. May not address your issue specifically with Next.js, but could be helpful at least if there's an error with routing: netlify.com/docs/redirects/