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

jbarrett pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/geode-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new fd2acbe  Redirect all removed versions to latest.
fd2acbe is described below

commit fd2acbe9204d15b0fc941fcabd0088d8dd853693
Author: Jacob Barrett <jabarr...@vmware.com>
AuthorDate: Wed Sep 15 16:27:05 2021 -0700

    Redirect all removed versions to latest.
---
 .htaccess | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.htaccess b/.htaccess
index d4c5bd6..03c72fc 100755
--- a/.htaccess
+++ b/.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

Reply via email to