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 b035a8a69 Redirect /guide/solr to /guide/solr/latest (#78)
b035a8a69 is described below

commit b035a8a695facaa9065341fdc2b40bfcecdc3350
Author: Houston Putman <[email protected]>
AuthorDate: Fri Jun 24 12:56:53 2022 -0400

    Redirect /guide/solr to /guide/solr/latest (#78)
---
 themes/solr/templates/htaccess.template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/themes/solr/templates/htaccess.template 
b/themes/solr/templates/htaccess.template
index 65eb204a3..7b761bd9f 100644
--- a/themes/solr/templates/htaccess.template
+++ b/themes/solr/templates/htaccess.template
@@ -96,5 +96,6 @@ RewriteRule ^guide/solr/(latest|\d+(?!.+\.\w+$|.+/$).+)$      
    $0/ [R=301,L]
 RewriteRule ^guide/solr/(\d+_\d+|latest)/.*$  __root/docs.solr.apache.org/$0 
[PT]
 
 # Redirects generated by Antora for the ref-guide
+RedirectMatch Permanent ^/guide/solr/?$ /guide/solr/latest/
 
 {% include "htaccess.ref-guide-antora" %}

Reply via email to