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

git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/solr-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new ef99aa569 Automatic Site Publish by Buildbot
ef99aa569 is described below

commit ef99aa569a147cb06a4608acc9a1badbd2086189
Author: buildbot <[email protected]>
AuthorDate: Thu Jun 30 18:45:21 2022 +0000

    Automatic Site Publish by Buildbot
---
 output/.htaccess | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/output/.htaccess b/output/.htaccess
index f8c03764b..11ccf7f50 100644
--- a/output/.htaccess
+++ b/output/.htaccess
@@ -46,6 +46,14 @@ RewriteRule ^mirrors-solr-redir.html downloads.html          
          [R=301,NE
 RedirectMatch Permanent ^/issue_tracking.html 
https://issues.apache.org/jira/browse/SOLR
 
 # Redirects to help the transistion from the Solr 6-8 ref-guide to the Solr 9+ 
ref-guide.
+# Do not index old reference guide pages on search engines, except for pages 
that don't exist in 9+
+<If "%{REQUEST_URI} =~ m#/guide/(6|7|8)_.*#>
+  Header always set X-Robots-Tag "noindex,nofollow,noarchive"
+</If>
+<If "%{REQUEST_URI} =~ 
m#/?guide/8_11/(adding-custom-plugins-in-solrcloud-mode|blob-store-api|blockjoin-faceting|cdcr-api|cdcr-architecture|cdcr-config|cdcr-operations|colocating-collections|cross-data-center-replication-cdcr|dataimport-screen|errata|metrics-history|migrate-to-policy-rule|putting-the-pieces-together|rule-based-replica-placement|solrcloud-autoscaling-api|solrcloud-autoscaling-auto-add-replicas|solrcloud-autoscaling-fault-tolerance|solrcloud-autoscaling-listeners|solrcloud
 [...]
+  Header always unset X-Robots-Tag
+</If>
+
 # Existing pages moved to sub path in the 9.0 guide
 RedirectMatch 301 
^/guide/(about-this-guide|relevance|solr-glossary|solr-tutorial)\.html 
/guide/solr/latest/getting-started/$1.html
 RedirectMatch 301 
^/guide/(aliases|audit-logging|authentication-and-authorization-plugins|basic-authentication-plugin|circuit-breakers|client-apis|cloud-screens|cluster-node-management|collection-management|collections-core-admin|configuring-logging|enabling-ssl|hadoop-authentication-plugin|indexupgrader-tool|installing-solr|jvm-settings|jwt-authentication-plugin|kerberos-authentication-plugin|mbean-request-handler|metrics-reporting|performance-statistics-reference|ping|plugins-stats-scr
 [...]
@@ -166,12 +174,6 @@ RewriteRule ^guide/real-time-get.html 
/guide/solr/latest/configuration-guide/rea
 # Removed pages redirected to latest 8.x guide
 RedirectMatch 301 
^/guide/(adding-custom-plugins-in-solrcloud-mode|blob-store-api|blockjoin-faceting|cdcr-api|cdcr-architecture|cdcr-config|cdcr-operations|colocating-collections|cross-data-center-replication-cdcr|dataimport-screen|errata|metrics-history|migrate-to-policy-rule|putting-the-pieces-together|rule-based-replica-placement|solrcloud-autoscaling-api|solrcloud-autoscaling-auto-add-replicas|solrcloud-autoscaling-fault-tolerance|solrcloud-autoscaling-listeners|solrcloud-autoscaling
 [...]
 # Paths we could not map
-
-
-# Do not index old reference guide pages on search engines, except for pages 
that don't exist in 9+
-<If "%{REQUEST_URI} =~ m#/?guide/(6|7|8)_.*# && %{REQUEST_URI} !~ 
m#/?guide/8_11/(adding-custom-plugins-in-solrcloud-mode|blob-store-api|blockjoin-faceting|cdcr-api|cdcr-architecture|cdcr-config|cdcr-operations|colocating-collections|cross-data-center-replication-cdcr|dataimport-screen|errata|metrics-history|migrate-to-policy-rule|putting-the-pieces-together|rule-based-replica-placement|solrcloud-autoscaling-api|solrcloud-autoscaling-auto-add-replicas|solrcloud-autoscaling-fault-toleranc
 [...]
-  Header always set X-Robots-Tag "noindex,nofollow,noarchive"
-</If>
 # Top-level javadoc redirect in case redirected from Lucene site /solr/X_Y_Z 
-> solr.apache.org/x_Y_Z
 RedirectMatch Permanent ^/(\d+_\d+_\d+)$ /docs/$1/
 RedirectMatch Permanent ^/(\d+_\d+_\d+/.*)$ /docs/$1

Reply via email to