From e1fe3fa2d8ad895f899e269c911d34cb47b3c376 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Mon, 12 Dec 2016 14:37:18 +1300 Subject: [PATCH] Redirect directly to /en/3/all from /en/all --- .htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 11cc6d4..5a63cd9 100644 --- a/.htaccess +++ b/.htaccess @@ -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= # to /pagename, which can then be matched by the legacy rewrite rules further down