1
Navigate to the Target Folder
In File Manager, enter the directory you wish to lock down (e.g., /public_html/wp-admin/).
In File Manager, enter the directory you wish to lock down (e.g., /public_html/wp-admin/).
Add a local .htaccess file inside that specific directory.
Paste the following rule, replacing 203.0.113.50 with your actual static public IP address:
Require ip 203.0.113.50
Require ip 198.51.100.25