Advertisement
SergeyBiryukov

Require authorization

Jul 30th, 2014
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. # Require authorization
  2. RewriteEngine On
  3. RewriteRule ^wp-login\.php$ - [L]
  4. RewriteCond %{REQUEST_FILENAME} !-f
  5. RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$
  6. RewriteRule .* /wp-login.php [R=302,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement