Please make sure you read the forum rules, click here to read them.


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create custom Error Pages
06-25-2010, 01:30 PM
Post: #1
Create custom Error Pages
Custom Error Pages:

http://www.frum.atbhost.net/tutorials/errorPages.swf
Add Thank You reply
07-13-2010, 09:49 AM
Post: #2
RE: Create custom Error Pages
is there a way to preview an error page?
Add Thank You reply
07-13-2010, 10:02 AM
Post: #3
RE: Create custom Error Pages
In cPanel I think there is a preview button. If not just go to a page that doesn't exist (assuming it's a 404 error) and you'll see the error page.

ATBHost Directory | ATBHost Forum Rules [PLEASE READ]
[Image: scsig.jpg]
Add Thank You reply
07-16-2010, 04:10 AM
Post: #4
RE: Create custom Error Pages
Creating a file and naming it <errornumber>.shtml is as easy as it gets. All of my sites have the following files:
400.shtml
401.shtml
403.shtml
404.shtml
500.shtml

I just code the basic HTML in Notepad and save the file. Not to complex. Wink
Add Thank You reply
07-16-2010, 01:31 PM
Post: #5
RE: Create custom Error Pages
400.shtml
401.shtml
403.shtml
404.shtml
500.shtml

What are all of these files: I know 404 but what are the others?
Add Thank You reply
07-16-2010, 02:38 PM
Post: #6
RE: Create custom Error Pages
They are the most common error codes (there are a lot more but I've never seen them in the logs before).
http://lvl8.atbhost.net/400.shtml
http://lvl8.atbhost.net/401.shtml
http://lvl8.atbhost.net/403.shtml
http://lvl8.atbhost.net/404.shtml
http://lvl8.atbhost.net/500.shtml
Add Thank You reply
07-16-2010, 06:54 PM
Post: #7
RE: Create custom Error Pages
good read...got to customize also my error page...

http://filelizard.co.cc | http://okeydito.co.cc | http://isaakmendez.atbhost.net
Add Thank You reply
07-18-2010, 03:50 PM (This post was last modified: 07-18-2010 03:51 PM by techairlines. Edit Reason: Fix Spacing)
Post: #8
RE: Create custom Error Pages
You can use one with a custom name by adding the following line to your root .htaccess file:

ErrorDocument 404 /myown404.html

Replace 404 with your error code and myown404.html with your own file.

[Image: userbar.php?uid=1055]
Add Thank You reply
07-27-2010, 09:26 AM
Post: #9
RE: Create custom Error Pages
ok .. so we do not need to specify in our htaccess file if the file is named just '404.html'

am i right or other wise...?

[Image: A6842E38058A2658B6073F6AD58BEC49.png]
Add Thank You reply
08-17-2010, 12:38 PM (This post was last modified: 08-17-2010 12:39 PM by jabirmoolur. Edit Reason: )
Post: #10
RE: Create custom Error Pages
You have Preview Option in your Cpanel or else You Create a custom error page using Any Html Editor(coffecup,Html Editor etc) Preview it Then upload it to the server
Add Thank You reply


Forum Jump:


Contact UsATBHostReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication