Not redirecting to the chosen page

Hello, i have the logout plugin installed and working fine but the login plugin is not redirecting to the desired page. It keeps taking me back to the home page. I've looked for all possibilities and can't find what is contradicting it.

  • Rupok
    • Support Ninja

    Hi Carl,

    This is really weird and should not happen. I just tested this plugin in my test site but login redirect is working perfectly. It's taking me to the page I defined, after login. So I think, this is your site specific issue.

    You said that you have looked for all possibilities but can you please confirm if you did a plugin conflict test just to make sure no other plugin is causing this? To know more about plugin conflict test, you can check this guide:

    Sometimes, some themes have login redirection integrated. Can you please try activating any default WordPress theme and check if Login Redirect is working properly? That will make sure if your currently active theme is creating the issue or not.

    I could tell you better about the issue if I could see it live, check your current configuration and make some tests on your site. Would you mind allowing Support Access so we can have a closer look at this?

    To enable support access you can follow this guide here:

    Please let us know the result of your plugin conflict test and if you can't find any plugin conflicting with Login Redirect, please confirm here when you are done granting Support Access. We will be glad to have a look and will try to resolve this issue as soon as possible.

    Have a nice day. Cheers!

  • Carl
    • The Incredible Code Injector

    Hi Rupok,

    Thanks. I have tried to conflict test but to no avail.

    I have activated the support account now. The site you want is: (Digi-Mag)

    Note: Using the social media login works and redirects them to the correct page which is:

    But, when they log in via username and password it keeps them on the same page. So, the redirecting isn't working when using the login form.

  • Nithin
    • Support Wizard

    Hey Carl,

    Hope you are doing good today. :slight_smile:

    I checked your website, and the plugin does work fine when I login through /wp-admin, however it doesn't work with your /my-account page, this is because WooCommerce has it's own filters, and hence the configuration made thorough the plugin didn't affect the /my-account page.

    Please try the following code, and check whether it works fine.

    add_filter( 'woocommerce_login_redirect', 'wc_custom_redirect' );
    function wc_custom_redirect( $redirect_url ) {
         $redirect_url = '';
         return $redirect_url;

    You'll have to add the following code in your themes functions.php file, this should redirect the users who logs in through /my-account.

    I tested the above code in my system, and it seems to work fine. Would highly recommend that you make changes like this to a theme using a Child theme, so that it won't be overwritten when you update your theme.

    Please let us know how that goes, have a nice day. :slight_smile:

    Kind Regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.