Custom 404 Error Page?

Status
Not open for further replies.

cybrgms

New Member
Messages
15
Reaction score
0
Points
0
Is it possible to set up a custom 404 Error page on x10hosting?
 

cybrgms

New Member
Messages
15
Reaction score
0
Points
0
*frowns* I should have looked for that...

How do I work these .shtml files? I tried entering PHP, HTML, and even clicked on some of the buttons on the page, but the file does not seem to be responding to this, because the regular 404 page still displays.
 
Messages
740
Reaction score
1
Points
18
*frowns* I should have looked for that...

How do I work these .shtml files? I tried entering PHP, HTML, and even clicked on some of the buttons on the page, but the file does not seem to be responding to this, because the regular 404 page still displays.

I take it you was being sarcastic?

You asked if it was possible, I gave you an answer.

When I've used the thing in cpanel, I've just put my normal layout code in and put in text that I wanted to show and it works fine for me. I don't have an example to show at this time though.
 

cybrgms

New Member
Messages
15
Reaction score
0
Points
0
Ehh... maybe I should have looked for it on the cPanel first, but I had no idea it was there. >.<

I will try doing that, but I don't see how it would work if just typing in HTML, PHP, and even clicking the buttons didn't help me out. Can I use PHP in the error pages?

EDIT: Just found something out: there is a new 404.shtml page in my File Manager. Do I need to do anything related to this? o_O

EDIT again: I attempted to edit the 404.shtml file with my regular site layout; no results as far as I can tell. Do I need to have a certain ad-supported deal with x10 in order for this to work or something?

EDIT: I think I fixed my problem. I found another tutorial on the net, and I found I have to edit the .htaccess file and enter "ErrorDocument 404 /404.shtml".
 
Last edited:

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
Yeah, I usually go straight to htaccess before cpanel. It's a very powerful little file.
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
@cybrgms: Just want to make sure you're getting what you wanted. Are server side includes going to cut it? Are you going to use PHP with a config line like the following?
Code:
ErrorDocument 404 /errordoc/404.php
 
Status
Not open for further replies.
Top