usu
usu copied to clipboard
member list redirection
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?