Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Custom Error pages

Discussion in 'General Discussion' started by tommo1590, Mar 16, 2009.

  1. tommo1590

    tommo1590 Registered

    Joined:
    Mar 16, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Hello,
    How can we make custom error pages which apply for every account that is created?

    Tom
     
  2. robb3369

    robb3369 Well-Known Member

    Joined:
    Mar 1, 2008
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    Create your error pages and add them to the /root/cpanel3-skel/public_html/ directory and every new site will have those files...

    Here is my skeleton tree...
    /root/cpanel3-skel/public_html/.htaccess
    /root/cpanel3-skel/public_html/400.shtml
    /root/cpanel3-skel/public_html/401.shtml
    /root/cpanel3-skel/public_html/403.shtml
    /root/cpanel3-skel/public_html/404.shtml
    /root/cpanel3-skel/public_html/406.shtml
    /root/cpanel3-skel/public_html/500.shtml
    /root/cpanel3-skel/public_html/favicon.ico
    /root/cpanel3-skel/public_html/index.shtml
    /root/cpanel3-skel/public_html/robots.txt
    /root/cpanel3-skel/public_html/images/alert.png
    /root/cpanel3-skel/public_html/images/comingsoon.jpg
    /root/cpanel3-skel/public_html/images/error.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. tommo1590

    tommo1590 Registered

    Joined:
    Mar 16, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Thanks!

    Tom
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice