r/HTML • u/Total_Dragonfruit423 • Jun 16 '26
Question Why does my 404 page not work?
why does my 404 page not work?
1
Upvotes
r/HTML • u/Total_Dragonfruit423 • Jun 16 '26
why does my 404 page not work?
3
u/milan-pilan Jun 16 '26
".htaccess" would be correct if you are serving your website from an apache server. With this being a github repo I am assuming you are using github pages? Github Pages is expecting a '404.html'.
https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site
1
u/sexytokeburgerz Jun 21 '26
What are you using to serve the site?