• On the Registration and also the Lost Password page, there are two links down at the bottom under the “Register” (or “Get New Password”) button.

    The “Log In” link is not pointing to the themed login page; it is pointing to wp-login.php?action=login.

    However, the “Lost Password” page is correct on the Registration page, as is the “Create Account” link on the Lost Password page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    Does the Login page exist? Is it in the trash?

    I’m having the same issue and have been unable to fix it. I’ve tried uninstalling and reinstalling the plugin multiple times. I’ve also deleted all the login/registration/logout/etc pages and had them regenerated by reinstalling the app. This has not helped. @spraker did you find any work arounds? Thanks!

    Thread Starter spraker

    (@spraker)

    I had to manually add entries into the .htaccess file to force redirects. Not exactly a great solution, but it has resolved the issue. Here is what I had to add:

    RewriteCond %{REQUEST_URI} ^/wp-login.php$
    RewriteCond %{QUERY_STRING} ^action=register$
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteRule ^(.*)$ https://DOMAIN/register-account/ [R=301,L]

    RewriteCond %{REQUEST_URI} ^/wp-login.php$
    RewriteCond %{QUERY_STRING} ^action=login&pending=approval$
    RewriteRule ^(.*)$ https://DOMAIN/registration-received/ [R=301,L]

    RewriteCond %{REQUEST_URI} ^/wp-login.php$
    RewriteCond %{QUERY_STRING} ^action=login$
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteRule ^(.*)$ https://DOMAIN/account-login/ [R=301,L]

    Essentially, the “RewriteCond” are conditions that when met, they will trigger the “RewriteRule”. The “RewriteRule” then has the specific pages where the user should be redirected to.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Registration Page – “Log In” Link going to wp-login.php?action=login’ is closed to new replies.