View Full Version : Custom error pages
10-14-2007, 12:30 AM
I have seen that it's possible to make your own error pages, but how exactly do you do??
10-14-2007, 12:31 AM
my host has an option where u can set the error page. Look around your control panel and see if u find anything.
10-14-2007, 01:28 AM
If your host is running Apache and you have .htaccess access, use this tutorial:
Create an error page for 404 (document not found), 403 (access denied) etc etc, and then reference them in .htaccess.
The page I've referenced has all you need.
If you have cPanel then I think there is a section on setting custom error pages in there.
10-14-2007, 02:07 PM
Weazel, just what I looked for!
10-15-2007, 12:17 AM
First, this is what I have written in my .htaccess file (there's something more, but I don't know what it is - it was there when I bought the hosting):
ErrorDocument 404 /errors/pagenotfound.html
The error page works if I ie write www.behrentzs.com/1
But if I specify a filename, ex .php, (www.behrentzs.com/1.php), I just get the normal error page.
How come, and how can I correct it??
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.