Skip to content

Commit 82a2fe4

Browse files
committed
fix(nginx): allow members settings/notifications sub-pages in buddypress
Add a location block so URLs like /members/<user>/settings/notifications/ (and sub-pages) are passed through to index.php instead of being redirected, matching the handling of the other excluded BuddyPress member paths.
1 parent 0efc3e6 commit 82a2fe4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

config/all/nginx/templates/20-buddypress.conf.template

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,8 @@
5454
location ~ ^/members/[^/]+/notifications(/|$) {
5555
try_files $uri $uri/ /index.php?$args;
5656
}
57+
58+
# Settings: notifications and all sub-pages
59+
location ~ ^/members/[^/]+/settings/notifications(/|$) {
60+
try_files $uri $uri/ /index.php?$args;
61+
}

0 commit comments

Comments
 (0)