Merge pull request #162 from creative-commoners/bugfix/search-404-error

FIX en/results action not being redirected
This commit is contained in:
sachajudd 2017-08-17 11:17:03 +12:00 committed by GitHub
commit eb49b4d599
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ ErrorDocument 500 /assets/error-500.html
RewriteRule ^en/3\.[5-9]/(.*)?$ /en/3/$1 [R=301,L]
# Redirect old index links to the current version
RewriteRule ^en/all\/?$ /en/3/all [R=301,L]
RewriteRule ^en/(all|results)\/?$ /en/3/$1 [R=301,L]
# DokuWiki rewrite rules: Need to happen before other rules in order to redirect /doku.php?id=<pagename>
# to /pagename, which can then be matched by the legacy rewrite rules further down