Quantcast
Channel: MyBB Community Forums - Tutorials
Viewing all articles
Browse latest Browse all 690

[TUTORIAL] Customizing Error Pages [C-Panel Hosts]

$
0
0
Hello , in this tutorial im going to show you how to design / code your own error page
Note: This tutorial for the hosts that use CPanel only

Ok Lets Begin!

1. Go to FTP ==> Your Server ==> enter httadocs or public html whatever you have in there , to create a new page

2. Right Click ==> New File
We are going to make 5 files:
File 1: 400(.php or html whatever you want to code it as)
File 2: 401(.php or html whatever you want to code it as)
File 3: 403(.php or html whatever you want to code it as)
File 4: 404(.php or html whatever you want to code it as)
File 5: 503(.php or html whatever you want to code it as)
So Lemme Explain what are those Numbers
400 Stands for Bad Request
401 Stands for Unauthorized
403 Stands for Forbidden
404 Stands for Unfound Page
503 Stands for an Unavaible Service

3. Once you created the files , edit them with whatever code you want you can Google ==> Best Error Pages and take them as an example

4.Go to Your Host CPANEL ==> Error Pages ==> Your Host and now fill them with the links for example you've created all of the files .php it wold be the following:
http://yourdomain.com/errornumber.php or .html

5.Once your done go to your website and test it!


Hope that it was useful,
Have a wonderful day

Viewing all articles
Browse latest Browse all 690

Trending Articles