i'm trying to restrict access to admin dashboard (wp-admin.php) by specific static ip so tried to add .htaccess to the wp-admin and set
<FilesMatch "admin\.php$"> Order deny,allow Deny from all Allow from 10.0.0.0/24 </FilesMatch>
but is not working and tried to install bulletproof plugin too and change the
Deny from all
Allow from 000
but not working to please any help and many thanks in advance.