Jump to content

logout redirect to login


Recommended Posts

hello community

i am using the latest whmcs v7

and i want my clients logout from the portal and then it will be redirect to the login page again. i mean i dont want they will see again the index.php file which is home page for SIX template

i found a tpl file which name logout.tpl

can some please help me with the correct code i need to modify

 

also just to added my whmcs is in the main public_html

there is no sub folder like http://yourdomainname.com/whmcs  i dont have like this my whmcs is in http://yourdomainname.com

 

thanks in advance

Link to comment
Share on other sites

  • 2 months later...

Hello @sokalsondha,

Maybe this will help. 

Go to /templates/yourtemplate/logout.tpl and replace this code:

<div class="main-content">
        <p class="text-center">
            <a href="index.php" class="btn btn-default">{$LANG.logoutcontinuetext}</a>
        </p>
    </div>

with this code:

<div class="main-content">
        <p class="text-center">
            <a href="clientarea.php" class="btn btn-default">{$LANG.logoutcontinuetext}</a>
        </p>
    </div>

Cheers

Link to comment
Share on other sites

  • 2 years later...
On 7/22/2018 at 12:49 AM, dansk said:

Hello @sokalsondha,

Maybe this will help. 

Go to /templates/yourtemplate/logout.tpl and replace this code:


<div class="main-content">
        <p class="text-center">
            <a href="index.php" class="btn btn-default">{$LANG.logoutcontinuetext}</a>
        </p>
    </div>

with this code:


<div class="main-content">
        <p class="text-center">
            <a href="https://www.hickman.io/" class="btn btn-default">{$LANG.logoutcontinuetext}</a>
        </p>
    </div>

Cheers

I am using a modified version where i'm trying to redirect to "another website", from my subdomain to the root domain. I made the change, but for some reason it keeps going to the index file.

Link to comment
Share on other sites

  • 11 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated