Support » Plugin: Protect WP Admin » App does not work after the latest update of WP 5.6

  • Since the last update I was not able to login on the url i have defined.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, same problem for me and it’s because the wp core update override the .htaccess. This file is modified by the protect wp admin (some rules are written) but after the wp core update the .htaccess is reseted so rules disappear.
    The only solution is to disable the plugin and reactive it.

    To the dev of the plugin, any best solution please?

    Thx for your help.

    • This reply was modified 1 year, 1 month ago by popallo.
    Plugin Author india-web-developer

    (@india-web-developer)

    we are sorry to hear that you are facing issue with latest version of wp 5.6.

    @popallo @rdhtdr you can add given below code directly 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]
    </IfModule>
    
    # 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 info@wp-experts.in

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘App does not work after the latest update of WP 5.6’ is closed to new replies.