francescolaffi/chef-wp-cli/master/files/default/ms-subdomains.htaccess - Htaccess File

francescolaffi/chef-wp-cli/master/files/default/ms-subdomains.htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*.php)$ wp/$1 [L]
RewriteRule . index.php [L]
</IfModule>

# END WordPress

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache