usu icon indicating copy to clipboard operation
usu copied to clipboard

member list redirection

Open wbervoets opened this issue 6 years ago • 0 comments

Accessing the member profile is not working correctly on my site.

eg. /forum/member4.html redirects to /forum/memberlist.php?mode=viewprofile&u=4 which redirects again to /forum/member4.html (causing an infinite loop)

How can I fix this ?

My nginx rules: rewrite ^/forum/member/([^/]+)/?$ /forum/memberlist.php?mode=viewprofile&un=$1 last; rewrite ^/forum/member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /forum/search.php?author=$1&sr=$2&start=$4 last; rewrite ^/forum/member(.*).html /forum/memberlist.php?mode=viewprofile&u=$1 permanent;

Any idea?

wbervoets avatar Jul 18 '19 10:07 wbervoets