Next.js Discord

Discord Forum

Direct redirects/visit to sub pages not working after deploying on Vercel

Unanswered
Carpenter wasp posted this in #help-forum
Open in Discord
Carpenter waspOP
I have my custom domain (say www.domain.in) at which I am hosting my frontend using vercel. I have several pages in my site (say, /contact and /pricing) which works as expected locally.

However, when I deploy the site, I am unable to visit these pages directly. It works fine when I am redirecting using a button click from my home page. It doesnt work if I put www.domain.in/pricing in my search bar.

It ends up with the following error message:

0 Replies