8THEME8
8THEME
May 11

Customized client logout in sidebar for anti-hacker security

I use an entry in the htaccess file that prohibits access to the wp-admin directory and the wp-login file to defend myself against hackers. RewriteEngine on RewriteCond %{REQUEST_URI} ^(.*)?wp-login.php(.*)$ [OR] RewriteCond %{REQUEST_URI} ^(.*)?wp-admin(/)$ [OR] RewriteCond %{REQUEST_URI} ^(.*)?wp-admin/$ RewriteCond %{REMOTE_ADDR} !^your.ip.adress.com$ RewriteRule ^(.*)$ – [R=403,L] Customers can register and log in. The problem is when logging out from the side panel. I will add that this problem does not occur on the user account page.
ReviewingReviewing