This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-site.git
The following commit(s) were added to refs/heads/main by this push:
new 6b3e01d37 Do not treat search-index.js as an 8_11 file
6b3e01d37 is described below
commit 6b3e01d37f649d6c58e1ee71a847c9af7f335e73
Author: Jan Høydahl <[email protected]>
AuthorDate: Mon May 9 00:33:45 2022 +0200
Do not treat search-index.js as an 8_11 file
---
themes/solr/templates/htaccess.template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/solr/templates/htaccess.template
b/themes/solr/templates/htaccess.template
index 6389aca32..7b7a456d4 100644
--- a/themes/solr/templates/htaccess.template
+++ b/themes/solr/templates/htaccess.template
@@ -59,7 +59,7 @@ RedirectMatch Permanent ^/guide/\d+_\d+$ $0/
# might change again in the future
RedirectMatch temp ^/api/org/(.*) /docs/{{ SOLR_LATEST_RELEASE | replace(".",
"_") }}/solr-core/org/$1
RedirectMatch temp ^/api/(.*) /docs/{{ SOLR_LATEST_RELEASE | replace(".", "_")
}}/$1
-RedirectMatch temp ^/guide/(?!index.html)(?!solr/)([a-z].*) /guide/{{
SOLR_LATEST_RELEASE.rsplit(".", 1) | first | replace(".", "_") }}/$1
+RedirectMatch temp ^/guide/(?!index.html)(?!solr/)(?!search-index.js)([a-z].*)
/guide/{{ SOLR_LATEST_RELEASE.rsplit(".", 1) | first | replace(".", "_") }}/$1
# Solr Tutorial is now in the Solr Ref Guide
# should redirect automatically to latest version