rewrite ^/index.php?m=Blog&a=blog&id=([0-9]+)&p=([0-9]+)$ /-.html permanent;
Can nginx redirect dynamic addresses to pseudo-static addresses? ningx
I don’t know much about the grammar, so I’d like to give you some guidance. Thank you.
巴扎黑2017-05-16 17:29:49
Brother, did you write this wrong?
Do you want to visit
/1-2.html
Then, the actual access of PHP may be /index.php?a=Blog&id=1&p=2, right?