Internal server error
Unanswered
Bombay posted this in #help-forum

BombayOP
Hi everyone,
I am facing issues "Internal server error".
In next js application, when I am hitting wrong url like https://www.example.com/about-u in place of https://www.example.com/about-us It should redirect to 404 page. It works on localhost but not on production. Sometimes it works on production too sometimes its not. Why its happening. On console its giving 500 (internal server error).
Anyone please guide me to resolve this issue
I am facing issues "Internal server error".
In next js application, when I am hitting wrong url like https://www.example.com/about-u in place of https://www.example.com/about-us It should redirect to 404 page. It works on localhost but not on production. Sometimes it works on production too sometimes its not. Why its happening. On console its giving 500 (internal server error).
Anyone please guide me to resolve this issue