• Resolved cernowain

    (@cernowain)


    Hello,

    I’ve changed to a custom login url, which works very well. No attackers in the dashboard anymore.
    My problem is, that users cannot logout anymore. After the logout I click the return to website link and can work as before.
    I checked the logout link as you described in another forum topic, but that link seems to be correct: https://xyz.com/myownlogin/?action=logout&_wpnonce=…

    Also I’ve deleted caching plugins, but that was not the solution.

    Do you have any ideas?
    Do I need some special configuration for the nginx webserver?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author gioni

    (@gioni)

    Hi!

    That’s weird because if you can log in via your Custom login URL you definitely are able to log out. It should work, no special web server configuration required.

    Could you inspect the response of your web server via the browser console? Open console, switch to the Network tab and click on the log out link on your website. You should see the first response with HTTP Status 302 and then second with Status 200 OK.

    Thread Starter cernowain

    (@cernowain)

    Hi Gioni, thanks for your reply. I checked my browser console.

    With standard wp-login.php, I see first the 302 and then the 200 status.
    But after I’ve changed to custom login url, the 302 status is always missing.
    The checkbox for deactivating wp-login.php doesn’t make any difference.

    Thread Starter cernowain

    (@cernowain)

    Do you have any tips what I can try?
    I would prefer not to rollback to the standard wp-login-url.

    Plugin Author gioni

    (@gioni)

    Could you test out the previous version and make sure that you have the same issue? https://downloads.wordpress.org/plugin/wp-cerber.3.0.zip

    Thread Starter cernowain

    (@cernowain)

    My update log shows me the update to version 4.0 (from 3.0) at 2017-01-19.
    I know that the issue has already existed before that date (and therefore in version 3.0), because I discussed that issue with other admins at the beginning of January (without success).

    Thread Starter cernowain

    (@cernowain)

    I’ve found the solution. In the nginx/sites-available file, the following entry is important:

    
    location / {
     try_files $uri $uri/ /index.php?$args;
    }
    
    • This reply was modified 7 years, 2 months ago by cernowain.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Logout does not work with custom login url’ is closed to new replies.