Creating Custom 404 error pages in Express

Posted in Tutorials

Tweet This Share on Facebook Bookmark on Delicious Digg this Submit to Reddit

To create a custom 404 page indicating “page-not-found” in Express, we add the following to our existing code in previous tutorial

custom error handling

Now when you go to an unknown page URL, you get the message …

404 page


Related Posts

Tags

Share This