404 errors? |
404 errors? |
![]()
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. |
|
|
![]() |
![]()
Post
#2
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 ![]() |
say for example, your custom error page is saved at http://gippersnaplyts.com/files/pages/wtfe.php. in your .htaccess file, you'd put this:
CODE ErrorDocument 404 /files/pages/wtfe.php if it was saved at http://gippersnaplyts.com/wtfe.php, your .htaccess file would look like this: CODE ErrorDocument 404 /wtfe.php you can include the full url if you want; doing it the way i'm giving examples just saves space, be it only a few bytes. |
|
|
![]() ![]() |