Skip to content

DOCS-8402: Fix redirects for sharding #2678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 13 additions & 55 deletions config/htaccess.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -4855,35 +4848,21 @@ 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'
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:
Expand All @@ -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'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, there is no such /core/sharding-introduction in v3.0

This version of the redirects are published, so could you test the redirect changes and make apppropriate changes and do another pull?

type: 'redirect'
code: 301
outputs:
Expand All @@ -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:
Expand All @@ -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:
Expand Down