wordpress-nginx-main/globals/mu-dir.conf
hhftechnologies dd82b3e56c update
2024-09-28 17:48:20 +05:30

9 lines
300 B
Text

# Rules for Multisite Sub-directory install
# For sub-directory redirects
# Only one would apply
# If two needed to be applied, it'd throw a 404
if (!-e $request_filename) {
rewrite ^/[_0-9a-zA-Z-]+(/wp-(content|admin|includes).*) $1 break;
rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ $1 break;
}