Restrict Access to Hidden Login Page by IP?
-
Hello,
I am using your plugin to hide the /wp-admin page by redirecting it to the URL your plugin generates (for example: mydomain.com/hiddenloginpage.
How can I restrict access to the hidden login page based on IP address? I want to restrict access to the hidden login page for all IP addresses except mine. I know it can be done for the /wp-login page, but how can I do it for the hidden login page using the following code in .htaccess in public_html
# RESTRICT WP-LOGIN BY IP
<Files wp-login.php>
Require ip 111.111.111.11
</Files>Any help would be greatly appreciated!
Thank you.
- The topic ‘Restrict Access to Hidden Login Page by IP?’ is closed to new replies.