Quote:
Originally Posted by Smack dat
I don't have a .htaccess in the /wp-admin folder. Just in the root directory.
|
Then add this to your root directory htaccess and change 123\.123\.123\.123 to your IP address
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
RewriteCond %{REMOTE_ADDR} !^123\.123\.123\.123$
RewriteRule ^(.*)$ - [R=403,L]
</IfModule>