nginx rewrite remove html except if URL contains string

前端 未结 0 1547
小蘑菇
小蘑菇 2020-12-01 02:23

We need to redirect all links containing html to non html, example:

domain.com/post.html -> domain.com/post domain.com/2010/10/post.html -> domain.com/2010/10/p

相关标签:
回答
  • 消灭零回复
提交回复
热议问题