• Resolved alpakal

    (@alpakal)


    Hello,

    A great plugin that I can recommend to everyone. It has blocked hundreds of login attempts and we’re in development, we did not even point the DNS to the servers yet!

    But I have a problem to solve before going into production. When I login with credentials to https://139.59.129.50/userlogin/

    it does not redirect me to main page. It continues to stay on the login page, although the login is succesful. If I manually navigate to https://139.59.129.50/ then I can see that I have logged on with the user.

    If you like, I can send you a test user credential. Please note that I reproduced this error with all plugins disabled and twentysixteen theme.

    I’ll be glad if you could help me on this. I’d really like to use your plugin in production, because it’s such a well thought one that does not bog down the system. Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter alpakal

    (@alpakal)

    Hi again,

    This is very strange. I have removed the custom login page. Now I can login through https://139.59.129.50/wp-login, and after succesful login, redirected to the homepage without any problem.

    So, it seems using a custom login page is causing an error for me. Taking into account I can reproduce this problem with no plugins and twentysixteen theme, can it be a problem with our nginx setup? Or maybe with permalink structure?

    Could you please advise me where to look for this problem. Thanks a lot.

    Plugin Author gioni

    (@gioni)

    First of all WordPress doesn’t redirect to home page by default. It redirects to the Dashboard (/wp-admin/). Probably, you use some redirection control plugin?
    I recommend inspect web server responses by using browser console (Ctrl + Shift + J for Chrome). Check for 302 HTTP responses during login process. You have to use Network tab (or Net tab) in the browser console to see all responses of your web server.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does not redirect to main page after login’ is closed to new replies.