The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> help with making a 404 error page, 404 error page does not work
sooshiseal
post Jun 29 2021, 10:52 PM
Post #1





Group: Members
Posts: 1
Joined: 29-June 21
Member No.: 28,001



i'm currently making a website with html, and i'm having trouble getting my error 404 page to work.

i made a html document called "404error.html" and made a ".htaccess" to refer to "404error.html" so the custom 404 page will show up instead of the regular one.
this is what i have typed up in .htaccess

CODE
ErrorDocument 404 /404error.html


however, when i give an invalid url, it redirects to me to the regular one instead of the custom one.
did i make any mistakes, or am i just doing this whole thing wrong?

if anyone really cares, the website is "egcomic.com" and link to the 404 page is "egcomic.com/404error.html"
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Jun 30 2021, 02:30 AM
Post #2


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



It seems to be working... have you fixed it or are you still having the same problem??
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 05:13 PM