wp-login.php redirect not working

#83060
  • Resolved Raoul
    Rank Math free

    Hello Support Team,

    First of all, I love RankMath!

    However, I’m running into the following issue:

    I’m using the Profile Builder plugin (https://www.cozmoslabs.com/wordpress-profile-builder/) to create custom login/logout/register pages.

    I want to redirect the following urls to other pages:

    wp-login.php
    wp-login.php?loggedout=true
    wp-login.php?action=logout

    However, this doesn’t work for some reason with RankMath’s redirection manager. Other (non .php) redirects work fine, and I’ve double checked my config, the documentation, and other support tickets, but I can’t figure out why it’s not working.

    Is it a bug or a feature?

    As a workaround, I’m currently using the 301 redirect plugin for these specific redirects. That seems to work fine.

    But I’d prefer to use only RankMath to be honest.

    I did find this other support ticket that mentions you don’t support query strings:

    https://support.rankmath.com/ticket/301-redirect-not-working/

    .. so I guess that’s why the redirects with a query don’t work –

    1) But why isn’t that supported in RankMath, but is supported in the 301 redirects plugin?
    2) Will urls with a query be supported in the future?
    3) And why is the wp-login.php not working, since there’s no query string in that url?

    Thanks!

    Kind regards,

    Raoul

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for getting in touch with us.

    We are working on an update of the plugin that will make the URLs with query strings work too.

    Unfortunately, that update is still not ready but it is nearing completion.

    Till then, I request you to use the solution you have in place.

    The wp-login.php one might be an issue we will have to sort immediately. That you for bringing this to our attention.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Raoul
    Rank Math free

    Hi Uzair,

    Thanks for the reply and good to know it’s a known issue and not something I’m overlooking.

    I look forward to those updates, in the meantime, already loving RankMath a bunch!

    Best,
    Raoul

    Hello,

    We are glad we could assist you.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘wp-login.php redirect not working’ is closed to new replies.