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.

Email & cpanel logout redirects

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

  1. lymph.dude

    lymph.dude Registered

    Joined:
    Jul 1, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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:
    269
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
  3. ChrisFirth

    ChrisFirth Active Member
    PartnerNOC

    Joined:
    Apr 10, 2008
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    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