You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by we...@apache.org on 2022/12/19 23:08:29 UTC
[hadoop-site] branch asf-site updated: Add .htaccess to redirect all Ozone traffic (/ozone/) to https://ozone.apache.org
This is an automated email from the ASF dual-hosted git repository.
weichiu pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hadoop-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 1e2eb31b06 Add .htaccess to redirect all Ozone traffic (/ozone/) to https://ozone.apache.org
1e2eb31b06 is described below
commit 1e2eb31b06ad5af4db68484ef182866828a1ca6f
Author: Wei-Chiu Chuang <we...@apache.org>
AuthorDate: Mon Dec 19 15:07:32 2022 -0800
Add .htaccess to redirect all Ozone traffic (/ozone/) to https://ozone.apache.org
---
content/.htaccess | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/content/.htaccess b/content/.htaccess
new file mode 100644
index 0000000000..ba05b3cea7
--- /dev/null
+++ b/content/.htaccess
@@ -0,0 +1,10 @@
+Redirect 301 /ozone/ https://ozone.apache.org/
+Redirect 301 /ozone/docs/ https://ozone.apache.org/docs/
+Redirect 301 /ozone/docs/0.2.0-alpha/ https://ozone.apache.org/docs/current/
+Redirect 301 /ozone/docs/0.2.1-alpha/ https://ozone.apache.org/docs/current/
+Redirect 301 /ozone/docs/0.3.0-alpha/ https://ozone.apache.org/docs/current/
+Redirect 301 /ozone/docs/0.4.0-alpha/ https://ozone.apache.org/docs/current/
+Redirect 301 /ozone/docs/0.4.1-alpha/ https://ozone.apache.org/docs/current/
+Redirect 301 /ozone/docs/0.5.0-beta/ https://ozone.apache.org/docs/current/
+Redirect 301 /ozone/docs/1.0.0/ https://ozone.apache.org/docs/current/
+Redirect 301 /ozone/docs/1.1.0/ https://ozone.apache.org/docs/current/
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org