IIS7.5 + Wordpress + Restrict Access to wp-login.php by client IP address
- by JuanValdez
I am moving from an Apache host to IIS. One of my sites in Wordpress (running Multi-site) which give me multiple blogs. I have moved all my rules from my .htaccess to the Microsoft URL ReWrite module. I have one section left that will not import.
I want to restrict access to all instances of the file wp-login.php by Client IP address.
In my .htaccess file I did the following:
<Files wp-login.php>
Order Deny,Allow
Deny from all
Allow from 192.168
</Files>
Any smart ideas on how to accompish this in IIS7.5?