From a9092719cada52d7846d176a36b3f7fa7769b1b6 Mon Sep 17 00:00:00 2001 From: ravind Date: Thu, 21 Jul 2016 14:26:02 -0400 Subject: [PATCH] DOCS-8402: Fix redirects for sharding --- config/htaccess.yaml | 68 +++++++++----------------------------------- 1 file changed, 13 insertions(+), 55 deletions(-) diff --git a/config/htaccess.yaml b/config/htaccess.yaml index ce9df428dfb..86afb0e15cd 100644 --- a/config/htaccess.yaml +++ b/config/htaccess.yaml @@ -4840,13 +4840,6 @@ code: 301 outputs: - 'after-v3.0' --- -from: '/administration/sharded-cluster-config-servers' -to: '/administration/sharded-cluster-maintenance' -type: 'redirect' -code: 301 -outputs: - - 'before-v3.0' ---- from: '/core/hashed-sharding' to: '/tutorial/shard-collection-with-a-hashed-shard-key' type: 'redirect' @@ -4855,19 +4848,12 @@ outputs: - 'before-v3.0' --- from: '/core/ranged-sharding' -to: '/sharding' +to: '/core/sharding-introduction' type: 'redirect' code: 301 outputs: - 'before-v3.0' --- -from: '/tutorial/deploy-sharded-cluster-hashed-sharding' -to: '/tutorial/deploy-shard-cluster' -type: 'redirect' -code: 301 -outputs: - - 'before-v3.0' ---- from: '/tutorial/deploy-sharded-cluster-ranged-sharding' to: '/tutorial/deploy-shard-cluster' type: 'redirect' @@ -4875,15 +4861,8 @@ code: 301 outputs: - 'before-v3.0' --- -from: '/core/sharded-cluster-architectures' -to: '/core/sharded-cluster-components' -type: 'redirect' -code: 301 -outputs: - - 'before-v3.0' ---- -from: '/core/sharded-cluster-mechanics' -to: '/core/sharded-cluster-administration' +from: '/core/sharded-cluster-administration' +to: '/core/sharded-cluster-mechanics' type: 'redirect' code: 301 outputs: @@ -4894,38 +4873,17 @@ to: '/core/sharded-cluster-config-servers' type: 'redirect' code: 301 outputs: - - 'before-v3.0' ---- -from: '/core/sharding-chunk-migration' -to: '/core/sharding-balancer-administration' -type: 'redirect' -code: 301 -outputs: - - 'before-v3.0' ---- -from: '/core/sharding-chunk-splitting' -to: '/core/sharding-balancer-administration' -type: 'redirect' -code: 301 -outputs: - - 'before-v3.0' ---- -from: '/core/sharding-introduction' -to: '/sharding' -type: 'redirect' -code: 301 -outputs: - - 'before-v3.0' + - 'after-v3.0' --- -from: '/core/sharding-shard-key-indexes' -to: '/core/sharding-shard-key' +from: '/core/sharding-balancer-administration' +to: '/core/sharding-chunk-migration' type: 'redirect' code: 301 outputs: - 'before-v3.0' --- -from: '/tutorial/choose-a-shard-key' -to: '/core/sharding-shard-key' +from: '/sharding' +to: '/core/sharding-introduction' type: 'redirect' code: 301 outputs: @@ -4936,10 +4894,10 @@ to: '/tutorial/manage-sharded-cluster-balancer' type: 'redirect' code: 301 outputs: - - 'before-v3.0' + - 'after-v3.0' --- -from: '/tutorial/shard-collection-with-a-hashed-shard-key' -to: '/tutorial/sharding-shard-key' +from: '/tutorial/deploy-sharded-cluster-hashed-sharding' +to: '/tutorial/shard-collection-with-a-hashed-shard-key' type: 'redirect' code: 301 outputs: @@ -4950,10 +4908,10 @@ to: '/core/gridfs' type: 'redirect' code: 301 outputs: - - 'before-v3.0' + - 'after-v3.0' --- from: '/tutorial/sharding-data-partitioning' -to: '/core/sharded-cluster-mechanics' +to: '/core/sharding-chunk-splitting' type: 'redirect' code: 301 outputs: