From e82a0fdd84e8550f2b587b5687f206197c8cd547 Mon Sep 17 00:00:00 2001 From: pissang Date: Fri, 22 Jan 2021 20:30:11 +0800 Subject: [PATCH] redirect next to root --- .htaccess | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.htaccess b/.htaccess index 22d096cc4..ea2472d03 100644 --- a/.htaccess +++ b/.htaccess @@ -29,3 +29,5 @@ RewriteCond "%{HTTP:Accept-Language}" ^en [NC] RewriteRule ^/?(index[.]html)?$ "/en/index.html" [L,R=301] RewriteRule ^/?(index[.]html)?$ "/en/index.html" [L,R=301] + +RewriteRule ^/?next\/?(.*) "/$1" [L,R=301]