Skip to content
Snippets Groups Projects
Commit 70543011 authored by ale's avatar ale
Browse files

Update htaccess with newest defaults

Update the WP Multisite section according to
https://wordpress.org/support/article/htaccess/#wordpress-3-5-and-up
parent bb16c54a
No related branches found
No related tags found
1 merge request!54Harden htaccess for /wp-includes/ direct access
...@@ -73,6 +73,8 @@ RewriteRule ^(.*) "/wp-content/cache/supercache/%{HTTP_HOST}/%{HTTP:X-Forwarded- ...@@ -73,6 +73,8 @@ RewriteRule ^(.*) "/wp-content/cache/supercache/%{HTTP_HOST}/%{HTTP:X-Forwarded-
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L] RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L] RewriteRule . index.php [L]
# END WordPress # END WordPress
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment