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/12 09:13:57 UTC

[solr-site] branch main updated: Fix redirect for /solr/9_0/solr-tutorial.html

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 452805e3d Fix redirect for /solr/9_0/solr-tutorial.html
452805e3d is described below

commit 452805e3d636bc5a6822c9ffadd79aa768af7e87
Author: Jan Høydahl <ja...@users.noreply.github.com>
AuthorDate: Thu May 12 11:13:49 2022 +0200

    Fix redirect for /solr/9_0/solr-tutorial.html
---
 themes/solr/templates/htaccess.ref-guide-old | 1 +
 1 file changed, 1 insertion(+)

diff --git a/themes/solr/templates/htaccess.ref-guide-old b/themes/solr/templates/htaccess.ref-guide-old
index b104fc600..ea99f6324 100644
--- a/themes/solr/templates/htaccess.ref-guide-old
+++ b/themes/solr/templates/htaccess.ref-guide-old
@@ -6,6 +6,7 @@ RedirectMatch 301 ^/guide/(analytics-expression-sources|analytics-mapping-functi
 RedirectMatch 301 ^/guide/(codec-factory|collections-api|config-api|config-sets|configsets-api|configuring-solrconfig-xml|coreadmin-api|implicit-requesthandlers|libs|managed-resources|package-manager-internals|package-manager|realtime-get|request-parameters-api|resource-loading|solr-plugins|update-request-processors|v2-api)\.html /guide/solr/latest/configuration-guide/$1.html
 RedirectMatch 301 ^/guide/(major-changes-in-solr-7|major-changes-in-solr-8|solr-upgrade-notes)\.html /guide/solr/latest/upgrade-notes/$1.html
 # Page renames between 8.x and 9.0
+RewriteRule ^guide/9_0/solr-tutorial.html /guide/solr/latest/getting-started/solr-tutorial.html [R=301,NE,L]
 RewriteRule ^guide/a-quick-overview.html /guide/solr/latest/getting-started/introduction.html [R=301,NE,L]
 RewriteRule ^guide/about-filters.html /guide/solr/latest/indexing-guide/filters.html [R=301,NE,L]
 RewriteRule ^guide/about-tokenizers.html /guide/solr/latest/indexing-guide/tokenizers.html [R=301,NE,L]