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 076efc0776 IGNITE-26324 Add ignite2 redirection (#257)
076efc0776 is described below
commit 076efc077622a4b7b1c9a473b8a9acf8794f965c
Author: Alexey Alexandrov <[email protected]>
AuthorDate: Thu Aug 28 10:09:07 2025 +0300
IGNITE-26324 Add ignite2 redirection (#257)
---
.htaccess | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.htaccess b/.htaccess
index 71a5407a6f..8d52dfb588 100644
--- a/.htaccess
+++ b/.htaccess
@@ -189,6 +189,9 @@ RewriteRule ^releases/([2-9][^/]*)(/.*)?$
releases/ignite$1/$1$2 [R=301,L]
RewriteRule ^docs/?$ docs/ignite3/latest/ [R=301,L]
RewriteRule ^docs/latest$ docs/ignite3/latest/ [R=301,L]
+# add trailing slash for bare ignite2/latest
+RewriteRule ^docs/ignite2/latest$ docs/ignite2/latest/ [R=301,L]
+
# latest → pinned versions
RewriteRule ^docs/ignite2/latest/(.*)$ docs/ignite2/2.17.0/$1 [L]
RewriteRule ^docs/ignite3/latest/(.*)$ docs/ignite3/3.0.0/$1 [L]