The iTSec plugin does not include such feature.
But you can simply add the lines below to the .htaccess file (Apache):
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
RewriteCond %{REMOTE_ADDR} !^1\.2\.3\.4$
RewriteRule ^(.*)$ - [R=403,L]
</IfModule>
Replace 1\.2\.3\.4 with your IP.
+++++ To prevent any confusion, I’m not iThemes +++++
thanks, but I have a PHP FastCGI (Nginx + PHP-FPM) server. Nginx doesn’t work with .htaccess file. how to be in my case? What should be added and where?
+++++ it’s too bad that iThemes doesn’t have such an important feature +++++
@ukraine777 this article might be of help. Best to back up your site before testing.
Hi @ukraine777, I hope the information provided helped resolve the issue. Since we haven’t received a response, I’ll mark this post resolved. If you still need some assistance, feel free to open a new support topic, and we’d be happy to assist. Thank you!