Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter karelj

    (@karelj)

    The problem was with a constant setting that was outside your code.

    • This reply was modified 8 years, 3 months ago by karelj.
    Thread Starter karelj

    (@karelj)

    The redirect to 404 happens after @require_once ABSPATH . 'wp-login.php'; in wp_loaded() function … if that helps …

    Also, if I check the admin_url() right before that it says it’s /wp/wp-admin/

    I tried to debug the wp_login.php a bit and there is a $_REQUEST[‘redirect_to’] set to https://mysite.com/wp/wp-admin/. This is handed over as a hidden attribute in the login form, which probably looks fine.

    Then the only place that throws /404 in your code is wp_loaded() the first condition. is_admin() is true, is_user_logged_in() is false and that’s where it goes to 404.

    Any idea what might cause this to happen?

    • This reply was modified 8 years, 3 months ago by karelj.
    • This reply was modified 8 years, 3 months ago by karelj. Reason: more details
    Thread Starter karelj

    (@karelj)

    Sorry, that was a typo. Yes, I have edited that in Settings -> General (shows the same stuff as Settings -> WPS Hide Login).

    As mentioned, I can access https//mysite.com/my-cms-login. It does not work only once I hit the login button.

    Thread Starter karelj

    (@karelj)

    Wow, you’re fast 🙂 I have changed only the login url in Settings -> General. Is there any other configuration I need to do?

Viewing 4 replies - 1 through 4 (of 4 total)