Skip to content

Commit

Permalink
Redirect directly to /en/3/all from /en/all
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Dec 12, 2016
1 parent 55cd7c6 commit e1fe3fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ ErrorDocument 500 /assets/error-500.html
# Redirect any version > 3.4 to 3 branch
RewriteRule ^en/3\.[5-9]/(.*)?$ /en/3/$1 [R=301,L]

# Redirect old index links to the current version (via another redirect rule)
RewriteRule ^en/all\/?$ / [R=301,L]
# Redirect old index links to the current version
RewriteRule ^en/all\/?$ /en/3/all [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 e1fe3fa

Please sign in to comment.