logout redirect
Hey Ray
Have got a logout
<li class="list-item-link headerNavLI"><a href="users_login.php?logout=1"><?php if(!WA_Auth_RulePasses("Super Administrator")){ // Begin Show Region ?>
<?php echo $_SESSION['UserLastName']; ?>, <?php echo $_SESSION['UserFirstName']; ?> |
<?php } // End Show Region ?><?php if(WA_Auth_RulePasses("Super Administrator")){ // Begin Show Region ?>Admin | <?php } // End Show Region ?>Logout</a> </li>
the link for which takes you here:
http://clients.motley.site/clientname/admin_cms/users_login.php?logout=1
Thats fine and it logs out ok but the redirect page is being taken to
http://clients.motley.site/admin_cms/
which, as you can see, omits the /clientname/ portion of the url. Have been hunting high and low trying to work out why its not redirecting to the correct page?
Cheers
J