Can nginx redirect dynamic addresses to pseudo-static addresses?
淡淡烟草味
淡淡烟草味 2017-05-16 17:27:49
0
2
769
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.

淡淡烟草味
淡淡烟草味

reply all(2)
世界只因有你

Why is the dynamic address redirected by nginx instead of php?

巴扎黑

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?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template