Membership protected page redirect to wrong page

I have content protected behind a membership that shows protection page to non-logged in users. But if someone tries to login, it redirects to a page that doesn't exist instead of showing the content.

  • Predrag Dubajic

    Hi Mika,

    Hope you're doing well.

    I was checking your installation and when I visit the protected page the URL in address bar looks correct and it should be redirecting to correct page.
    However something on your site is interfering during the login itself and redirects to different URL.

    I already checked your .htaccess files but didn't find anything unusual there so this is not the cause.
    There's probably a plugin or a option in your theme that's changing the redirect link on login, however I didn't want to test this without your permission.

    So, could you please perform a conflict test by disabling your other plugins and switching to default WP theme and see if the redirect is correct after that?
    This should help us to determine the cause so we can debug it further.

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.