omak-oorzhak/brus/master/.htaccess - Htaccess File

omak-oorzhak/brus/master/.htaccess

# 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

<Files xmlrpc.php>
order allow,deny
deny from all
</Files>
<Files wp-config.php>
order allow,deny
deny from all
</Files>
#Hide admin URL start
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !^(.*)admin-ajax.php
RewriteCond %{HTTP_REFERER} !^(.*)brus.wp/wp-admin
RewriteCond %{HTTP_REFERER} !^(.*)brus.wp/wp-login.php
RewriteCond %{QUERY_STRING} !^1988
RewriteCond %{QUERY_STRING} !^action=logout
RewriteCond %{QUERY_STRING} !^action=rp
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?1988 [R,L]
</IfModule>
#Hide admin URL end

On Github License

Files

Download PDF of Htaccess file
HTTP_COOKIE, HTTP_REFERER, QUERY_STRING, REQUEST_FILENAME, SCRIPT_FILENAME

Comments

Apache