[Help] Rewrite URL failure in nginx - url end with #string
Hi everybody
I have rewrite rule: rewrite ^/f[\d]+/.+-([\d]+)/index([\d]+).html /threads/$1/page-$2 permanent; Result: http://domain.com/f234/thread-name.1234/index1.html will redirect to http://domain.com/threads/1234/page-1 I want to rewrite http://domain.com/f234/thread-name.1...html#post56789 redirect to http://domain.com/posts/56789 Please tell me how to rewrite :(. I can't get 56789 value :(( |
All times are GMT -5. The time now is 01:06 AM. |