This is an automated email from the ASF dual-hosted git repository.
jbarrett pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/geode-site.git
The following commit(s) were added to refs/heads/master by this push:
new 68aa409 Redirect all removed versions to latest.
68aa409 is described below
commit 68aa40967153f34b8a574839afce1e4aa6a6994f
Author: Jacob Barrett <[email protected]>
AuthorDate: Wed Sep 15 16:25:59 2021 -0700
Redirect all removed versions to latest.
---
website/content/.htaccess | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/website/content/.htaccess b/website/content/.htaccess
index d4c5bd6..03c72fc 100755
--- a/website/content/.htaccess
+++ b/website/content/.htaccess
@@ -20,6 +20,6 @@ RedirectMatch 301 /serverman/(.*)
https://geode.apache.org/docs/guide/114/$1
RedirectMatch 301 /geodeman/(.*) https://geode.apache.org/docs/guide/114/$1
RedirectMatch 301 /cppapiref/(.*)
https://geode.apache.org/releases/latest/cppdocs/$1
RedirectMatch 301 /dotnetapiref/(.*)
https://geode.apache.org/releases/latest/dotnetdocs/$1
-RedirectMatch 301 /docs/guide/14/(.*)
https://geode.apache.org/docs/guide/114/$1
-RedirectMatch 301 /docs/guide/13/(.*)
https://geode.apache.org/docs/guide/113/$1
-RedirectMatch 301 /docs/guide/12/(.*)
https://geode.apache.org/docs/guide/112/$1
+
+# Removed document versions redirect to latest, will redirect to doc index if
missing after that.
+RedirectMatch 301 /docs/guide/(?:111|110|19|18|17|16|15|14|13|12|11|10)/(.*)
https://geode.apache.org/docs/guide/114/$1