Advertisement
kalovski

Untitled

Feb 15th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine on
  3. RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
  4. RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
  5. RewriteCond %{REMOTE_ADDR} !^Your IP address 1$
  6. RewriteCond %{REMOTE_ADDR} !^ Your IP address 2$
  7. RewriteCond %{REMOTE_ADDR} !^ Your IP address 3$
  8. RewriteCond %{REMOTE_ADDR} !^ Your IP address 4$
  9. RewriteCond %{REMOTE_ADDR} !^ Your IP address 5$
  10. RewriteRule ^(.*)$ - [R=403,L]
  11. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement