• Resolved saq123

    (@saq123)


    Hi all, wonder if anyone can help with this one. When a user logs in and submits a ticket all works fine until you hit the Logout button, this is trying to send the user to our WordPress admin page but we don’t allow this so it just bounces them out to a 404 page instead.

    I have set the Logout redirect option to our homepage within Awesome Support > settings > general > Logout Redirection but it still tries to logout to the wp-admin page.

    many thanks

    Si.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author melliesou

    (@melliesou)

    Hello,

    Can you please screen-capture the value of the Logout Redirection setting? It’s possible that there might be an issue with the URL inputted. Also, when you click on the logout button, if you inspect with your browser’s network panel, does it show an automatic redirect from the homepage to the wp-admin page?

    Can you clarify what method you are using to disallow the wordpress admin page? Is it possible that the method you are using is also disallowing the link you have entered in the re-direction setting?

    Hope that helps and gives a good start to finding the issue. If not, I’ll look forward to seeing your screenshot setting.

    Thread Starter saq123

    (@saq123)

    Thank you for your reply, how do I attach a screen shot to this for you? I don’t see an option here, however the url is correct https://www.saq.net

    when I inspect the element using the developer tools in firefox the button has the following code behind it;

    <a href="https://www.saq.net/wp-login.php?action=logout&redirect_to=https%3A%2F%2Fwww.saq.net&_wpnonce=806b9a11d7" class="wpas-btn wpas-btn-default wpas-link-logout" data-slimstat="5">Logout</a>

    I use the witelist IP option in WP Security to prevent unauthorised IPs access to the admin pages.

    Simon.

    • This reply was modified 6 years, 2 months ago by saq123.
    • This reply was modified 6 years, 2 months ago by saq123.
    • This reply was modified 6 years, 2 months ago by saq123.
    Thread Starter saq123

    (@saq123)

    content removed as I updated the post above with the code.

    • This reply was modified 6 years, 2 months ago by saq123.
    Thread Starter saq123

    (@saq123)

    Ah ok I think I’ve fixed it, in AIOWP Security I removed the check box Brute Force Protection > Enable IP Whitelisting and then went on my 4G with my phone, logged out and it redirected without a problem. It must be the admin page login access lock down which is causing the ticketing logout to fritz because it can’t access the wp-login.php page.

    Plugin Author melliesou

    (@melliesou)

    It looks like you have found the issue was with the security setting and you can now redirect users who log out of the support ticket helpdesk to the desired page. Please re-open if you find any other issues.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Redirect on logout’ is closed to new replies.