• Resolved giwpt

    (@giwpt)


    Hello,

    I use the rename wp-login.php in WP Cerber. After upgrading to WordPress 5.3, when I log in in my custom login URL, I am not redirected to wp-admin. Instead, I am shown the 404 of my site and have to manually append wp-admin to the URL to access the dashboard. Any ideas how to solve this?

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter giwpt

    (@giwpt)

    Update: Turns out this only happens during the upgrade to WP-5.3. Installing the plugin on a fresh WP install does not cause a 404 redirect upon logging in in custom login page.

    If anyone happens to come across this problem:
    – After upgrading WP core, change “Custom login URL” to something random, save, and then change again to your actual custom login URL.

    Plugin Author gioni

    (@gioni)

    Thanks for sharing your observations! I’ve never come across the issue, though.

    Thread Starter giwpt

    (@giwpt)

    Hello, Gioni, and thanks for your amazing plugin.

    Follow-up: Looks like this happens only to admin, with the new “Admin Email Verification” screen. If WP wants to display this screen, the redirection to wp-admin fails, and goes to a 404 instead. Noticed it in a few wp sites now. Not really much of a problem, since manually typing wp-admin after logging in will take you to the dashboard anyway, but I thought it might be worth mentioning, if anyone else comes across this issue.

    Plugin Author gioni

    (@gioni)

    Thanks for telling me, I’ll look into it soon.

    I have the same problem, or something similar.

    I have the custom login URL:

    https://myclient.localhost:8000/nb-client

    And after upgrading to wordpress 5.3 when I try to log in the site redirects to a URL that doesn’t exist.

    https://myclient.localhost:8000/nb-client/?redirect_to=http%3A%2F%2Fmyclient.localhost%3A8000%2Fwp-admin%2F&action=confirm_admin_email

    The error that appears in chrome is:

    Access to myclient.localhost has been denied. You are not authorized to view this page.
    HTTP ERROR 403

    Plugin Author gioni

    (@gioni)

    That can happen if you guys:

    1. Have enabled this in the Main Settings: “Disable automatic redirection to the login page when /wp-admin/ is requested by an unauthorized request”
    2. Open those links in a browser that you never used to log into your websites

    So the solution is either 1) not to enable that setting or 2) to log into (at least once) a website BEFORE using the link.

    @martdsam

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP5.3 – Custom login URL redirects to 404 after login’ is closed to new replies.