This is an automated email from the ASF dual-hosted git repository.
ptupitsyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-website.git
The following commit(s) were added to refs/heads/master by this push:
new 611ade0688 IGNITE-27353 Fix docs redirect for legacy urls (#298)
611ade0688 is described below
commit 611ade0688b56673eccfaa92c19865fc184ea6fe
Author: Alexey Alexandrov <[email protected]>
AuthorDate: Mon Dec 15 16:41:59 2025 +0200
IGNITE-27353 Fix docs redirect for legacy urls (#298)
Redirect legacy urls to Ignite 2 docs:
* `/docs/latest` is the old URL scheme which is still indexed by search
systems
* `/docs/ignite2/latest` and `/docs/ignite3/latest` is the new scheme
---
.htaccess | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.htaccess b/.htaccess
index dd4346f914..ef1338e385 100644
--- a/.htaccess
+++ b/.htaccess
@@ -193,8 +193,8 @@ RewriteRule ^releases/([2-9][^/]*)(/.*)?$
releases/ignite$1/$1$2 [R=301,L]
RewriteRule ^docs/?$ docs/ignite3/latest/ [R=301,L]
# special handling for /docs/latest
-RewriteRule ^docs/latest/?$ docs/ignite3/latest/ [R=301,L]
-RewriteRule ^docs/latest/(.*)$ docs/ignite3/latest/$1 [R=301,L]
+RewriteRule ^docs/latest/?$ docs/ignite2/latest/ [R=301,L]
+RewriteRule ^docs/latest/(.*)$ docs/ignite2/latest/$1 [R=301,L]
# add trailing slash for bare ignite2/latest
RewriteRule ^docs/ignite2/latest$ docs/ignite2/latest/ [R=301,L]