charlie59/bestclassicbands/master/.htaccess - Htaccess File

charlie59/bestclassicbands/master/.htaccess

<Files xmlrpc.php>
Order Allow,Deny
Deny from all
</Files>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^([^d/]+)-([0-9]+)-([0-9]+)-[0-9]+/$ ?$1$3=$2&%{QUERY_STRING}[L]
RewriteRule ^([0-9]+)/([^d/]+)([0-9]+).*_.*_.*..*$ ?$2$1=$3&%{QUERY_STRING}[L]
RewriteRule ^([^d/]+)-([0-9]+)-([0-9]+)-.*-.*-.*-.*-.*-.*-[0-9]+-[0-9]+-[0-9]+/$ ?$1$3=$2&%{QUERY_STRING}[L]
RewriteRule ^([^d/]+)_([0-9]+)/([0-9]+)-.*=.*_.*[0-9]+.*[0-9]+-[0-9]+..*$ ?$1$2=$3&%{QUERY_STRING}[L]
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
<Files xmlrpc.php>
Order deny,allow
Deny from all
# Loopback and private ranges
Allow from ::1 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
</Files>
# If the site requires XMLRPC request from specific hosts, they can be whitelisted here as well.

On Github License

Files

Download PDF of Htaccess file
QUERY_STRING, REQUEST_FILENAME

Comments

Apache