You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ja...@apache.org on 2022/05/11 23:06:44 UTC

[solr] branch branch_9x updated: Make 'latest' remain in URL instead of `9_0` (#846)

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

janhoy pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 7ba8bca98e0 Make 'latest' remain in URL instead of `9_0` (#846)
7ba8bca98e0 is described below

commit 7ba8bca98e0f9a005da90c4ee1fb5beb3c75a560
Author: Jan Høydahl <ja...@users.noreply.github.com>
AuthorDate: Thu May 12 01:00:54 2022 +0200

    Make 'latest' remain in URL instead of `9_0` (#846)
    
    (cherry picked from commit 4896773a540200b44f53385ba3cff8fbb2c60a03)
---
 solr/solr-ref-guide/playbook.template.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/solr-ref-guide/playbook.template.yml b/solr/solr-ref-guide/playbook.template.yml
index a9f3845db86..589bc219f70 100644
--- a/solr/solr-ref-guide/playbook.template.yml
+++ b/solr/solr-ref-guide/playbook.template.yml
@@ -21,7 +21,7 @@ urls:
   latest_version_segment: latest
 # This does not work unless the redirect_facility below is set to
 # something other than the default 'static'
-  latest_version_segment_strategy: redirect:from
+  latest_version_segment_strategy: redirect:to
 # If this is set to 'httpd', antora will create a .htaccess file with all redirects, including 'latest'.
 # Default is 'static' which produces index.html at the root.
 # See https://docs.antora.org/antora/latest/playbook/urls-redirect-facility/