From 7b11d0b127da545d0434f457fc6a2b6912c36b39 Mon Sep 17 00:00:00 2001 From: Yurii Palamarchuk Date: Tue, 28 Apr 2026 12:22:39 +0200 Subject: [PATCH] HBASE-30127 Improve Website's SEO --- .htaccess | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index e4ec7e5ef31..52ecefb9047 100644 --- a/.htaccess +++ b/.htaccess @@ -1,4 +1,3 @@ - # 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 /book.html#_cluster_replication @@ -13,3 +12,13 @@ RedirectMatch permanent ^/xref/(.*)\.html$ https://git-wip-us.apache.org/repos/a # Redirect 0.94 pages to main site RedirectMatch permanent ^/0.94/(.*)$ /$1 Redirect permanent /0.94 / + +ErrorDocument 404 /404/index.html + + + Header always set Cache-Control "no-cache, must-revalidate" + + + Header always set Cache-Control "public, max-age=2592000, immutable" + +