Skip to content

Commit

Permalink
Merge pull request #162 from creative-commoners/bugfix/search-404-error
Browse files Browse the repository at this point in the history
FIX en/results action not being redirected
  • Loading branch information
sachajudd authored Aug 16, 2017
2 parents e3c38ca + 4adb29c commit eb49b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb49b4d

Please sign in to comment.