Error Page

Status
Not open for further replies.

junaidk786

New Member
Messages
5
Reaction score
0
Points
0
I am using free webhosting and i want to create my own 404 error page i checked in cpanel and tried it and it doesnt work it just forward to the x10hosting 404 error page with is unprofeessional
 

adamparkzer

On Extended Leave
Messages
3,745
Reaction score
81
Points
0
I am using free webhosting and i want to create my own 404 error page i checked in cpanel and tried it and it doesnt work it just forward to the x10hosting 404 error page with is unprofeessional

First, create a page titled 404.php and place it in your home directory. Custom design your 404 page how you want by altering code in your 404.php page.

Then, go to your .htaccess file. If you are unable to find it, open your File Manager and add &showhidden=1 to the end of the URL. If you still can't find it in your public_html folder, create a new one.

Add the following line to your .htaccess file:

ErrorDocument 404 /404.php
 
Status
Not open for further replies.
Top