.htacess allow and deny rule not working
-
Hello,
I have created .htaccess file under wp-admin folder for restrict remote IP access.
But the denied rules are working and allow rules not working.
`<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} ^(.)?wp-login.php(.)$ [OR]
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
order deny,allow#Replace the below 3.*.*.* with your IP address
deny from all
allow from *.*.*.*
- The topic ‘.htacess allow and deny rule not working’ is closed to new replies.