Support » Plugin: Protect WP Admin » Cannot login

Viewing 1 replies (of 1 total)
  • Plugin Author india-web-developer


    Hi Pivonka, We are sorry to here that you are facing issue with latest WordPress 5.6 version. WordPress has released some major changes in 5.6 that’s why problem is coming with all security related plugin.

    Please add given below code into your htaccess file to make plugin working properly.

    ‘RewriteRule ^admin_slug_goes_here/?$ /wordpress/wp-login.php [QSA,L]
    RewriteRule ^admin_slug_goes_here/register/?$ /wordpress/wp-login.php?action=register [QSA,L]
    RewriteRule ^admin_slug_goes_here/lostpassword/?$ /wordpress/wp-login.php?action=lostpassword [QSA,L]

    Sample Code

    ‘# BEGIN WordPress
    # The directives (lines) between “BEGIN WordPress” and “END WordPress” are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteRule ^admin_slug_goes_here/?$ /wp-login.php [QSA,L]
    RewriteRule ^admin_slug_goes_here/register/?$ /wp-login.php?action=register [QSA,L]
    RewriteRule ^admin_slug_goes_here/lostpassword/?$ /wp-login.php?action=lostpassword [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress’

    Note: Please don’t forget to replace “admin_slug_goes_here” value as per your new admin slug

    You can send your query directly to us at

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot login’ is closed to new replies.