Here's a weird issue. When I click the Login link on my website, I get redirected to a page that is protected from the Visitor role, and thus get hit with a page that says "The content you are trying to access is only available to members. Sorry."
I can see in the URL that after clicking the Login link and waiting for the login page to load, the URL gets redirected to a page that I have set to be only available to premium members, thus it would be protected from Visitors.
I see the URL has this type of structure, https://mydomain.com/protected/?redirect_to=https%3A%2F%2Fmydomain.com%2Fmembers-only-page%2F
I am glad the user gets the protected content page when the page tries to redirect to that Members Only Page in the URL structure.
But the user should be automatically redirected to that page AFTER he logs in. For some reason it seems like the site is bypassing the login screen and trying to go directly to that Members Only Page, which the user cannot access until after he logs in, but there is no login form to log into!
I also use the Theme My Login plugin to display the login form. And I just installed an SSL certificate on the site. The login form was working fine with the Theme My Login plugin before I installed the SSL, but now after I installed the SSL, I have the trouble I explained above.
It doesn't seem to be SSL related though. Do you know why this behavior is happening?
I looked in the Access Levels and I am definitely allowins my Visitors to access the Login Page fine, but it seems like the Login page is being bypassed for some reason I am hoping you can help with!
I granted you access to look around as well.