Log In · Register

 
404 errors?
Jamesisgsnap
post Apr 29 2009, 11:02 PM
Post #1


Senior Member
****

Group: Member
Posts: 164
Joined: May 2008
Member No: 647,219



How do you create your own page for 404-errors?

So when someone types something wrong in you can have it say what ever you want instead of it being a blank ugly page?

I seen like a few sites have it, but I can't find them now.
 
 
Start new topic
Replies
fixtatik
post Apr 30 2009, 09:58 AM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



if you're working on an apache server, you can use a .htaccess file to direct 404 errors to a specific page.

in the file called ".htaccess" (uploaded to your root directory):
CODE
ErrorDocument 404 /path/to/404.html

you can name "404.html" to whatever you'd like, with any page extension you'd like.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: