You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
358 B

11 years ago
# WPSUBDIRECTORY NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHNAGES LOST AFTER UPDATE EasyEngine (ee)
if (!-e $request_filename) {
11 years ago
# Redirect wp-admin to wp-admin/
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
11 years ago
# Redirect wp-* files/folders
rewrite ^(/[^/]+)?(/wp-.*) $2 last;
11 years ago
# Redirect other php files
rewrite ^(/[^/]+)?(/.*\.php) $2 last;
}