Merge pull request #162 from creative-commoners/bugfix/search-404-error
FIX en/results action not being redirected
This commit is contained in:
commit
eb49b4d599
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue