This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/solr-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new a25864215 Automatic Site Publish by Buildbot
a25864215 is described below
commit a25864215b484485d9dfd22debf78715d6e42059
Author: buildbot <[email protected]>
AuthorDate: Sun May 8 21:38:19 2022 +0000
Automatic Site Publish by Buildbot
---
output/.htaccess | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/output/.htaccess b/output/.htaccess
index 84e31ab9f..5b3695828 100644
--- a/output/.htaccess
+++ b/output/.htaccess
@@ -86,7 +86,9 @@ RewriteRule ^docs/\d+.*$ __root/docs.solr.apache.org/$0 [PT]
# Ref-guides up to 8.x
RewriteRule ^guide/(6|7|8)_\d+.*$ __root/docs.solr.apache.org/$0 [PT]
# Ref-guides from 9.0
-RewriteRule ^guide/solr/\d+.*$ __root/docs.solr.apache.org/$0 [PT]
+RewriteRule ^guide/_/.+$ __root/docs.solr.apache.org/$0 [PT]
+RewriteRule ^guide/solr/(latest|\d+(?!.+\.\w+$|.+/$).+)$ $0/ [R=301,L]
+RewriteRule ^guide/solr/\d+_\d+/.*$ __root/docs.solr.apache.org/$0 [PT]
# Redirects generated by Antora for the ref-guide