cancer10

Well-Known Member
Aug 27, 2006
60
0
156
India
Hi,

I am running cPanel 11 with apache.

I want a custom 404 page in php format. Currently its set to 404.shtml by default, even if I change the file name from 404.shtml to 404.php (under cPanel's "Custom Error Pages"), it still redirects to 404.shtml. So I was wondering if there is an alternate trick to do this?


Please guide



Thanx
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Hi,

I am running cPanel 11 with apache.

I want a custom 404 page in php format. Currently its set to 404.shtml by default, even if I change the file name from 404.shtml to 404.php (under cPanel's "Custom Error Pages"), it still redirects to 404.shtml. So I was wondering if there is an alternate trick to do this?


Please guide



Thanx
You can manually edit the .htaccess file to point to 404.php instead of 404.shtml