Hello, I've got problem with making rewrite rule in nginx and i need your help. How to make rewrite rule from http://www.example.com/2015/03/link-to-page.html to http://www.example.com/link-to-page/ . I've tried this location / { rewrite "^/([0-9]{4})/([0-9]{2})/(.*)\.html?$" /$1/ redirect; } but it's not working. Thank youby jacek44 - Migration from Other Servers
![]() |
![]() |
![]() |
![]() |
![]() |