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
commit a1981e3271f73bd855b64e3387c6f5e2be3f3228 Author: Dávid Paksy <[email protected]> AuthorDate: Thu Apr 23 10:45:04 2026 +0200 HBASE-30113 Add redirect rules to redirect old HTML pages to new (cherry picked from commit 5a075438df6c29007a42d58d2d5ef3a0574a3273) --- .htaccess | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.htaccess b/.htaccess index 16a39865b70..1932c16a81c 100644 --- a/.htaccess +++ b/.htaccess @@ -1,4 +1,15 @@ +# Redirect old HTML pages to new extensionless URLs +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
