Guest User

Untitled

a guest
Mar 17th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. # Only allow internal IP to access login page
  2. <IfModule mod_rewrite.c>
  3. RewriteEngine on
  4. RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
  5. RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
  6. RewriteCond %{REMOTE_ADDR} !^xx.xxx.xx.xxx$
  7. RewriteRule ^(.*)$ - [R=403,L]
  8. </IfModule>
Add Comment
Please, Sign In to add comment