Hello, I need to redirect some URLS with httpd. As example : /test/?d=2018/05/02/13/14/50-some-title
Must be redirected to /2018/05/02/some-title My problem is that "?" is never matched. Here is the pattern I use : location match "^/test/%?d=(%d%d%d%d/%d%d/%d%d)/%d%d/%d%d/%d%d%-(%g+)$" { block return 301 "/%1/$2" } Any advice? After many tests, it seems that the only problem is the "?" thanks. -- thuban