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 ![]() |
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. |
|
|
![]() ![]() |