Next.js Discord

Discord Forum

404 Error Still Showing

Unanswered
Horned oak gall posted this in #help-forum
Open in Discord
Horned oak gallOP
I have on my home page a link to a page that doesn't exist yet that will throw a 404 error(expected behavior).

However when I click the nav bar at the top to go back to the home page it still shows the 404 error despite the url at the top changing back to home page.

After waiting 30s-1m if I click the home page nav bar again it will refresh to the home page correctly.

This only occurs for my production env and is not an issue when trying it locally.


I am rerouting my domain url from cloudfare to my nginx server.... Could cloudfare be caching this 404 error as the page when it happens?

0 Replies