Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_rewrite.c>
- RewriteEngine on
- RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
- RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
- RewriteCond %{REMOTE_ADDR} !^Your IP address 1$
- RewriteCond %{REMOTE_ADDR} !^ Your IP address 2$
- RewriteCond %{REMOTE_ADDR} !^ Your IP address 3$
- RewriteCond %{REMOTE_ADDR} !^ Your IP address 4$
- RewriteCond %{REMOTE_ADDR} !^ Your IP address 5$
- RewriteRule ^(.*)$ - [R=403,L]
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement