The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Custom 404 Page

Discussion in 'General Discussion' started by cancer10, Mar 15, 2008.

  1. cancer10

    cancer10 Well-Known Member

    Joined:
    Aug 27, 2006
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You can manually edit the .htaccess file to point to 404.php instead of 404.shtml
     
  3. cancer10

    cancer10 Well-Known Member

    Joined:
    Aug 27, 2006
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Problem solved.


    Thanx
     
Loading...

Share This Page