You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2025/04/28 20:49:24 UTC
(solr-site) branch main updated: Include all sitemaps in the htaccess
This is an automated email from the ASF dual-hosted git repository.
houston 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 376413e2e Include all sitemaps in the htaccess
376413e2e is described below
commit 376413e2e5d04173ca24130e23c970b6f17c8746
Author: Houston Putman <ho...@apache.org>
AuthorDate: Mon Apr 28 15:49:17 2025 -0500
Include all sitemaps in the htaccess
---
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 2ee9cb25b..de1f94655 100644
--- a/themes/solr/templates/htaccess.template
+++ b/themes/solr/templates/htaccess.template
@@ -88,7 +88,7 @@ RewriteRule ^(docs|guide)/\d+(?!.+\.\w+$|.+/$).+$ $0/ [R=301,L]
# __root/docs.solr.apache.org/ is a special alias added by INFRA-19439, so we can refer to stuff in other places like SVN
RewriteRule ^docs/\d+.*$ __root/docs.solr.apache.org/$0 [PT]
# Static pages that should be servable
-RewriteRule ^guide/(search-index\.js|sitemap\.xml|404\.html)$ __root/docs.solr.apache.org/$0 [PT]
+RewriteRule ^guide/(search-index\.js|sitemap.*\.xml|404\.html)$ __root/docs.solr.apache.org/$0 [PT]
# For debugging - can remove later
RewriteRule ^guide/go.*$ __root/docs.solr.apache.org/$0 [PT]
# Ref-guides up to 8.x