nginx rewrite 301 redirects to the specified page
为情所困
为情所困 2017-05-16 17:07:12
0
1
586

How to allow access to https://www.a.com/ask/?1.html
to automatically jump to 301 https://wen.a.com/ 2.html

为情所困
为情所困

reply all(1)
刘奇

No one answered. It took me several days to solve it. Hey, I’d better announce it

if ($request_uri = /ask/?1.html ) { return 301 https://wen.a.com/2.html; }
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template