This is an automated email from the ASF dual-hosted git repository.

PDavid pushed a commit to branch asf-site-staging
in repository https://gitbox.apache.org/repos/asf/hbase-site.git


The following commit(s) were added to refs/heads/asf-site-staging by this push:
     new 047899eb5b3 HBASE-30113 Fix redirect rules to redirect old HTML pages 
to new
047899eb5b3 is described below

commit 047899eb5b3008b2cffa106b95988f53af5b91e0
Author: Dávid Paksy <[email protected]>
AuthorDate: Thu Apr 23 11:13:32 2026 +0200

    HBASE-30113 Fix redirect rules to redirect old HTML pages to new
---
 .htaccess | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/.htaccess b/.htaccess
index 1932c16a81c..47e4b35823e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,15 +1,12 @@
-
 # Redirect old HTML pages to new extensionless URLs
+Redirect permanent /downloads.html /downloads
+Redirect permanent /acid-semantics.html /acid-semantics
+Redirect permanent /sponsors.html /sponsors
 Redirect permanent /coc.html /code-of-conduct
 Redirect permanent /export_control.html /export-control
 Redirect permanent /poweredbyhbase.html /powered-by-hbase
 Redirect permanent /old_news.html /news
 
-# For downloads, acid-semantics, sponsors pages
-RewriteEngine On
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^(.+)\.html$ /$1 [R=301,L]
-
 # Redirect replication URL to the right section of the book
 # Rule added 2015-1-12 -- can be removed in 6 months
 Redirect permanent /replication.html 
https://hbase.apache.org/docs/operational-management/cluster-replication

Reply via email to