Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Only allow internal IP to access login page
- <IfModule mod_rewrite.c>
- RewriteEngine on
- RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
- RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
- RewriteCond %{REMOTE_ADDR} !^xx.xxx.xx.xxx$
- RewriteRule ^(.*)$ - [R=403,L]
- </IfModule>
Add Comment
Please, Sign In to add comment