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!

Email & cpanel logout redirects

Discussion in 'E-mail Discussion' started by lymph.dude, Jul 1, 2009.

  1. lymph.dude

    lymph.dude Registered

    Joined:
    Jul 1, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    I use the cPanel 11.24.7-EDGE. I work for two soon to be three businesses that each have their own domain. I have a specialized page for them to log in to the server and there email. However I would like to know if there is a way that I can redirect the log out pages from the default, so they go back to the specialized page.

    I thank you in advance,
    -Jesse
     
  2. Voltar

    Voltar Well-Known Member

    Joined:
    Apr 30, 2007
    Messages:
    267
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Bakersfield, California
    I don't believe that you can do it per domain or per reseller, but I know you can do it server-wide in WHM > Tweak Settings > Redirection. There is an option there "Redirect user to the following URL upon logout of the cPanel interface. A blank value specifies the default logout page."

    As far as I know that is the only way to change the redirection page. I think it would be nice to have an option for resellers to be able to specify something along those lines. I could have missed a setting somewhere along the way though.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ChrisFirth

    ChrisFirth Active Member
    PartnerNOC

    Joined:
    Apr 10, 2008
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    DataCenter Provider
    One way it possible can be done is by having a specific skin for each redirect. In the folder for each skin (default location is "/usr/local/cpanel/base/frontend/<skin name>/"), put a file called logout.html.

    In this file, as an example, put the following:

    <script type="text/javascript">
    window.location = 'http://www.website.com';
    </script>

    If you prefer you can use a meta refresh or your preferred method of redirection.
     
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