
# BEGIN Better WP Security
<IfModule mod_rewrite.c>
RewriteEngine On

RewriteRule ^login/?$ /wp-login.php?vxciwantfkip2f2iub3bn [R,L]

RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
RewriteRule ^admin/?$ /wp-login.php?vxciwantfkip2f2iub3bn&redirect_to=/wp-admin/ [R,L]

RewriteRule ^admin/?$ /wp-admin/?vxciwantfkip2f2iub3bn [R,L]

RewriteRule ^register/?$ /wp-login.php?vxciwantfkip2f2iub3bn&action=register [R,L]

RewriteCond %{SCRIPT_FILENAME} !^(.*)admin-ajax\.php
RewriteCond %{HTTP_REFERER} !^(.*)i-sd.eu/wp-admin
RewriteCond %{HTTP_REFERER} !^(.*)i-sd.eu/wp-login\.php
RewriteCond %{HTTP_REFERER} !^(.*)i-sd.eu/login
RewriteCond %{HTTP_REFERER} !^(.*)i-sd.eu/admin
RewriteCond %{HTTP_REFERER} !^(.*)i-sd.eu/register
RewriteCond %{QUERY_STRING} !^vxciwantfkip2f2iub3bn
RewriteCond %{QUERY_STRING} !^action=logout
RewriteCond %{QUERY_STRING} !^action=rp
RewriteCond %{QUERY_STRING} !^action=register
RewriteCond %{QUERY_STRING} !^action=postpass
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
RewriteRule ^.*wp-admin/?|^.*wp-login\.php /not_found [R,L]

RewriteCond %{QUERY_STRING} ^loggedout=true
RewriteRule ^.*$ /wp-login.php?vxciwantfkip2f2iub3bn [R,L]
</IfModule>
# END Better WP Security

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
