Jade-ux / WomenTechConnect

Created for the March 2023 Women In Tech Hackathon, held by Code Institute
2 stars 2 forks source link

Fix: configure the 404 page to work with Heroku #84

Closed CallumDennisIE closed 1 year ago

CallumDennisIE commented 1 year ago

Description:

Currently, the 404.html page does not show when encountering an HTTP 404 status, as seen when trying an invalid request: https://womentechconnect.herokuapp.com/dhdhd

Evidence:

Current Result on Heroku: Image

Expected Result: Image

Solution:

While GitHub pages will automatically detect a 404.html page and display it, it seems there are extra steps to configure a 404.html page on Heroku, I have found a guide to show how to configure this: https://devcenter.heroku.com/articles/error-pages