Skip to content

Commit 8b403b5

Browse files
DOP-1883: clean up redirects for SEO (#726)
* DOP-1883: clean up redirects for SEO * missed a few /s * Nathan's updates Co-authored-by: Nathan <[email protected]> Co-authored-by: Nathan <[email protected]>
1 parent 9a70bcd commit 8b403b5

File tree

1 file changed

+123
-90
lines changed

1 file changed

+123
-90
lines changed

config/redirects

Lines changed: 123 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -4,108 +4,141 @@ define: manual https://docs.mongodb.com/manual
44
define: atlas https://docs.atlas.mongodb.com
55
define: devhub https://developer.mongodb.com
66

7-
raw: drivers/platforms/amazon-ec2 -> ${atlas}/
8-
raw: drivers/platforms/red-hat-enterprise-linux -> ${manual}/tutorial/install-mongodb-enterprise-on-red-hat/
9-
raw: drivers/platforms/windows-azure -> ${atlas}/reference/microsoft-azure/#microsoft-azure
10-
raw: drivers/platforms/windows -> ${manual}/tutorial/install-mongodb-enterprise-on-windows/
11-
raw: drivers/tools/hadoop -> https://github.com/mongodb/mongo-hadoop
12-
raw: drivers/tools/munin -> https://github.com/comerford/mongo-munin
13-
raw: drivers/tutorial/authenticate-with-csharp-driver -> ${base}/csharp
14-
raw: drivers/tutorial/backup-and-restore-mongodb-on-amazon-ec2 -> ${atlas}/backup-restore-cluster/
15-
raw: drivers/tutorial/configure-red-hat-enterprise-linux-identity-management -> ${manual}/tutorial/install-mongodb-enterprise-on-red-hat/
16-
raw: drivers/tutorial/getting-started-with-hadoop -> https://github.com/mongodb/mongo-hadoop
17-
raw: drivers/tutorial/manage-red-hat-enterprise-linux-identity-management -> ${manual}/tutorial/install-mongodb-enterprise-on-red-hat/
18-
raw: drivers/use-cases/category-hierarchy -> ${devhub}
19-
raw: drivers/use-cases/hadoop -> https://github.com/mongodb/mongo-hadoop
20-
raw: drivers/use-cases/hierarchical-aggregation -> ${devhub}
21-
raw: drivers/use-cases/http-interfaces -> ${devhub}
22-
raw: drivers/use-cases/inventory-management -> ${devhub}
23-
raw: drivers/use-cases/metadata-and-asset-management -> ${devhub}
24-
raw: drivers/use-cases/product-catalog -> ${devhub}
25-
raw: drivers/use-cases/storing-comments -> ${devhub}
26-
raw: drivers/use-cases/storing-log-data -> ${devhub}
27-
28-
raw: drivers/tutorial/install-mongodb-on-amazon-ec2 -> ${base}/platforms/amazon-ec2
29-
raw: drivers/tutorial/automate-deployment-with-cloudformation -> ${base}/platforms/amazon-ec2
30-
raw: drivers/tutorial/deploy-mongodb-from-aws-marketplace -> ${base}/platforms/amazon-ec2
31-
raw: drivers/tutorial/install-mongodb-on-windows-azure -> ${base}/platforms/windows-azure
32-
raw: drivers/tutorials -> ${base}/tutorial
33-
raw: drivers/javascript -> ${base}/drivers/node-js
7+
8+
# FLE https://jira.mongodb.org/browse/DOP-1633
9+
raw: drivers/use-cases/client-side-field-level-encryption-guide -> ${base}/security/client-side-field-level-encryption-guide/
10+
raw: drivers/use-cases/client-side-field-level-encryption-local-key-to-kms -> ${base}/security/client-side-field-level-encryption-local-key-to-kms/
11+
raw: drivers/use-cases/sensitive-data-encryption -> ${base}/security/client-side-field-level-encryption-guide/
12+
13+
14+
###
15+
### Redirects for Legacy Drivers Content
16+
###
17+
raw: drivers/tutorials -> ${base}/
18+
raw: drivers/perl-internals -> ${base}/community-supported-drivers/
19+
raw: drivers/downloads -> ${base}/
20+
raw: drivers/syntax-table -> ${base}/
21+
22+
# cpp
3423
raw: drivers/tutorial/download-and-compile-cpp-driver -> https://github.com/mongodb/mongo-cxx-driver/wiki/Download%20and%20Compile
3524
raw: drivers/tutorial/getting-started-with-cpp-driver -> https://github.com/mongodb/mongo-cxx-driver/wiki/blob/legacy/README.md
3625
raw: drivers/cpp-bson-array-examples -> https://github.com/mongodb/mongo-cxx-driver/wiki/blob/legacy/src/mongo/client/examples/arrayExample.cpp
3726
raw: drivers/cpp-bson-helper-functions -> https://github.com/mongodb/mongo-cxx-driver/wiki/BSON%20Helper%20Functions
3827
raw: drivers/cpp-to-sql-to-mongo-shell -> https://github.com/mongodb/mongo-cxx-driver/wiki
39-
raw: drivers/tools/administration-interfaces -> ${base}/tools
40-
raw: drivers/tutorial/configure-worker-roles-in-azure -> ${base}/platforms/windows-azure
41-
raw: drivers/tutorial/deploy-mongodb-worker-roles-in-azure-version-1-6 -> ${base}/platforms/windows-azure
42-
raw: drivers/tutorial/deploy-mongodb-worker-roles-in-azure -> ${base}/platforms/windows-azure
43-
raw: drivers/tutorial/build-an-application-to-connect-to-mongodb-on-azure -> ${base}/platforms/windows-azure
44-
raw: drivers/tutorial/use-java-dbobject-to-perform-saves -> ${base}/drivers/java
28+
raw: drivers/tutorial/download-and-compile-cpp-driver-legacy -> https://github.com/mongodb/mongo-cxx-driver/wiki/Download-and-Compile-the-Legacy-Driver
29+
raw: drivers/tutorial/authenticate-with-cpp-driver -> http://mongocxx.org/
30+
31+
# csharp
32+
raw: drivers/tutorial/authenticate-with-csharp-driver -> ${base}/csharp/
33+
raw: drivers/csharp-community-projects -> ${base}/csharp/
34+
raw: drivers/tutorial/authenticate-with-csharp-driver -> http://mongodb.github.io/mongo-csharp-driver/2.2/reference/driver/authentication
35+
raw: drivers/tutorial/getting-started-with-csharp-driver -> http://mongodb.github.io/mongo-csharp-driver/2.2/getting_started
36+
raw: drivers/tutorial/serialize-documents-with-the-csharp-driver -> http://mongodb.github.io/mongo-csharp-driver/2.2/getting_started
37+
raw: drivers/tutorial/use-csharp-driver -> http://mongodb.github.io/mongo-csharp-driver/2.2/getting_started
38+
raw: drivers/tutorial/use-linq-queries-with-csharp-driver -> http://mongodb.github.io/mongo-csharp-driver/2.2/getting_started
39+
40+
# java
4541
raw: drivers/java-concurrency -> http://mongodb.github.io/mongo-java-driver/3.0/driver/reference/crud
4642
raw: drivers/java-replica-set-semantics -> http://mongodb.github.io/mongo-java-driver/3.0/driver/reference/crud
4743
raw: drivers/java-types -> http://mongodb.github.io/mongo-java-driver/3.0/bson
4844
raw: drivers/tutorial/getting-started-with-3.0-java-driver -> http://mongodb.github.io/mongo-java-driver/3.0/driver/getting-started/quick-tour
4945
raw: drivers/tutorial/getting-started-with-java-driver -> http://mongodb.github.io/mongo-java-driver/2.13/getting-started/quick-tour
5046
raw: drivers/tutorial/use-aggregation-framework-with-java-driver -> http://mongodb.github.io/mongo-java-driver/3.0/driver/getting-started/quick-tour
51-
raw: drivers/csharp-community-projects -> ${base}/drivers/csharp
52-
raw: drivers/tutorial/authenticate-with-csharp-driver -> http://mongodb.github.io/mongo-csharp-driver/2.2/reference/driver/authentication
53-
raw: drivers/tutorial/getting-started-with-csharp-driver -> http://mongodb.github.io/mongo-csharp-driver/2.2/getting_started
54-
raw: drivers/tutorial/serialize-documents-with-the-csharp-driver -> http://mongodb.github.io/mongo-csharp-driver/2.2/getting_started
55-
raw: drivers/tutorial/use-csharp-driver -> http://mongodb.github.io/mongo-csharp-driver/2.2/getting_started
56-
raw: drivers/tutorial/use-linq-queries-with-csharp-driver -> http://mongodb.github.io/mongo-csharp-driver/2.2/getting_started
57-
raw: drivers/tutorial/getting-started-with-ruby-on-rails-3 -> ${base}/tutorial/ruby-bson-tutorial
58-
raw: drivers/tutorial/getting-started-with-ruby-on-rails -> ${base}/tutorial/ruby-bson-tutorial
47+
raw: drivers/tutorial/use-java-dbobject-to-perform-saves -> ${base}/java/
5948
raw: drivers/tutorial/authenticate-with-java-driver/ -> http://mongodb.github.io/mongo-java-driver/3.0/driver/reference/connecting/authenticating
60-
raw: drivers/tutorial/install-mongodb-on-linux-in-azure -> ${base}/platforms/windows-azure
61-
raw: drivers/tutorial/model-data-for-ruby-on-rails -> ${base}/drivers/ruby
62-
raw: drivers/tools/applications -> https://www.mongodb.com/community/deployments
63-
raw: drivers/tutorial/download-and-compile-cpp-driver-legacy -> https://github.com/mongodb/mongo-cxx-driver/wiki/Download-and-Compile-the-Legacy-Driver
64-
raw: drivers/ruby -> https://docs.mongodb.com/ruby-driver/current
65-
raw: drivers/ruby-resources -> https://docs.mongodb.com/ruby-driver/current/reference/additional-resources
66-
raw: drivers/tutorial/ruby-driver-tutorial -> https://docs.mongodb.com/ruby-driver/v2.2
67-
raw: drivers/tutorial/ruby-driver-tutorial-2-0 -> https://docs.mongodb.com/ruby-driver/v2.0
68-
raw: drivers/tutorial/ruby-bson-tutorial -> https://docs.mongodb.com/ruby-driver/current/tutorials/bson-v4
69-
raw: drivers/tutorial/ruby-bson-tutorial-4-0 -> https://docs.mongodb.com/ruby-driver/current/tutorials/bson-v4
70-
raw: drivers/tutorial/ruby-mongoid-tutorial -> https://docs.mongodb.com/mongoid/current/
71-
raw: drivers/tutorial/mongoid-callbacks -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-callbacks/
72-
raw: drivers/tutorial/mongoid-documents -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-documents
73-
raw: drivers/tutorial/mongoid-indexes -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-indexes
74-
raw: drivers/tutorial/mongoid-installation -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-installation
75-
raw: drivers/tutorial/mongoid-nested-attributes -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-nested-attributes
76-
raw: drivers/tutorial/mongoid-persistence -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-persistence
77-
raw: drivers/tutorial/mongoid-queries -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-queries
78-
raw: drivers/tutorial/mongoid-rails -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-rails
79-
raw: drivers/tutorial/mongoid-relations -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-relations
80-
raw: drivers/tutorial/mongoid-upgrade -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-upgrade
81-
raw: drivers/tutorial/mongoid-validation -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-validation
82-
raw: drivers/downloads -> ${base}/drivers
83-
raw: drivers/tutorial/write-a-tumblelog-application-with-flask-mongoengine -> https://pymodm.readthedocs.io/en/latest/getting-started.html
84-
raw: drivers/use-cases/pre-aggregated-reports -> ${base}/use-cases/pre-aggregated-reports-mmapv1
85-
raw: drivers/tutorial/authenticate-with-cpp-driver -> https://mongodb.github.io/mongo-cxx-driver
86-
raw: drivers/perl-internals -> ${base}/drivers/perl
87-
raw: drivers/platforms/digitalocean -> https://docs.atlas.mongodb.com
88-
raw: drivers/platforms/modulus -> https://docs.atlas.mongodb.com
89-
raw: drivers/platforms/rackspace-cloud -> https://docs.atlas.mongodb.com
49+
50+
# nodejs
51+
raw: drivers/javascript -> ${base}/node/
52+
53+
# ruby and mongoid
54+
raw: drivers/tutorial/getting-started-with-ruby-on-rails-3 -> https://docs.mongodb.com/ruby-driver/current/tutorials/bson-v4/
55+
raw: drivers/tutorial/getting-started-with-ruby-on-rails ->https://docs.mongodb.com/ruby-driver/current/tutorials/bson-v4/
56+
raw: drivers/tutorial/model-data-for-ruby-on-rails -> ${base}/ruby/
57+
raw: drivers/ruby -> https://docs.mongodb.com/ruby-driver/current/
58+
raw: drivers/ruby-resources -> https://docs.mongodb.com/ruby-driver/current/reference/additional-resources/
59+
raw: drivers/tutorial/ruby-driver-tutorial -> https://docs.mongodb.com/ruby-driver/v2.2/
60+
raw: drivers/tutorial/ruby-driver-tutorial-2-0 -> https://docs.mongodb.com/ruby-driver/v2.0/
61+
raw: drivers/tutorial/ruby-bson-tutorial -> https://docs.mongodb.com/ruby-driver/current/tutorials/bson-v4/
62+
raw: drivers/tutorial/ruby-bson-tutorial-4-0 -> https://docs.mongodb.com/ruby-driver/current/tutorials/bson-v4/
63+
raw: drivers/tutorial/ruby-mongoid-tutorial -> https://docs.mongodb.com/mongoid/current//
64+
raw: drivers/tutorial/mongoid-callbacks -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-callbacks//
65+
raw: drivers/tutorial/mongoid-documents -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-documents/
66+
raw: drivers/tutorial/mongoid-indexes -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-indexes/
67+
raw: drivers/tutorial/mongoid-installation -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-installation/
68+
raw: drivers/tutorial/mongoid-nested-attributes -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-nested-attributes/
69+
raw: drivers/tutorial/mongoid-persistence -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-persistence/
70+
raw: drivers/tutorial/mongoid-queries -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-queries/
71+
raw: drivers/tutorial/mongoid-rails -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-rails/
72+
raw: drivers/tutorial/mongoid-relations -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-relations/
73+
raw: drivers/tutorial/mongoid-upgrade -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-upgrade/
74+
raw: drivers/tutorial/mongoid-validation -> https://docs.mongodb.com/mongoid/current/tutorials/mongoid-validation/
75+
76+
###
77+
### Redirects for Legacy Ecosystem Content
78+
###
79+
# Amazon ec2 -> Atlas
80+
raw: drivers/platforms/amazon-ec2 -> ${atlas}/
81+
raw: drivers/tutorial/install-mongodb-on-amazon-ec2 -> ${atlas}/
82+
raw: drivers/tutorial/automate-deployment-with-cloudformation -> ${atlas}/
83+
raw: drivers/tutorial/deploy-mongodb-from-aws-marketplace -> ${atlas}/
84+
raw: drivers/tutorial/backup-and-restore-mongodb-on-amazon-ec2 -> ${atlas}/backup-restore-cluster/
85+
86+
# Azure -> Atlas / Manual
87+
raw: drivers/platforms/windows-azure -> ${atlas}/reference/microsoft-azure/
88+
raw: drivers/platforms/windows -> ${manual}/tutorial/install-mongodb-enterprise-on-windows/
89+
raw: drivers/tutorial/install-mongodb-on-windows-azure -> ${atlas}/reference/microsoft-azure/
90+
raw: drivers/tutorial/configure-worker-roles-in-azure -> ${atlas}/reference/microsoft-azure/
91+
raw: drivers/tutorial/deploy-mongodb-worker-roles-in-azure-version-1-6 -> ${atlas}/reference/microsoft-azure/
92+
raw: drivers/tutorial/deploy-mongodb-worker-roles-in-azure -> ${atlas}/reference/microsoft-azure/
93+
raw: drivers/tutorial/build-an-application-to-connect-to-mongodb-on-azure -> ${atlas}/reference/microsoft-azure/
94+
raw: drivers/tutorial/install-mongodb-on-linux-in-azure -> ${base}/platforms/windows-azure/
95+
96+
# Hadoop
97+
raw: drivers/tools/hadoop -> https://github.com/mongodb/mongo-hadoop
98+
raw: drivers/use-cases/hadoop -> https://github.com/mongodb/mongo-hadoop
99+
raw: drivers/tutorial/getting-started-with-hadoop -> https://github.com/mongodb/mongo-hadoop/
100+
101+
# Kafka -> Kafka Connector site
102+
raw: drivers/connectors/kafka -> ${kafka}/
103+
raw: drivers/connectors/kafka-connect-migration -> ${kafka}/kafka-connect-migration/
104+
raw: drivers/connectors/kafka-docker-example -> ${kafka}/kafka-docker-example/
105+
raw: drivers/connectors/kafka-installation -> ${kafka}/kafka-installation/
106+
raw: drivers/connectors/kafka-sink-cdc -> ${kafka}/kafka-sink-cdc/
107+
raw: drivers/connectors/kafka-sink-data-formats -> ${kafka}/kafka-sink-data-formats/
108+
raw: drivers/connectors/kafka-sink-postprocessors -> ${kafka}/kafka-sink-postprocessors/
109+
raw: drivers/connectors/kafka-sink-properties -> ${kafka}/kafka-sink-properties/
110+
raw: drivers/connectors/kafka-sink -> ${kafka}/kafka-sink/
111+
raw: drivers/connectors/kafka-source -> ${kafka}/kafka-source/
112+
113+
# Platforms
114+
raw: drivers/platforms/digitalocean -> https://docs.atlas.mongodb.com/
115+
raw: drivers/platforms/modulus -> https://docs.atlas.mongodb.com/
116+
raw: drivers/platforms/rackspace-cloud -> https://docs.atlas.mongodb.com/
90117
raw: drivers/platforms/red-hat-openshift -> https://docs.mongodb.com/kubernetes-operator/stable/
91-
raw: drivers/platforms/dotcloud -> https://docs.atlas.mongodb.com
118+
raw: drivers/platforms/dotcloud -> https://docs.atlas.mongodb.com/
92119
raw: drivers/platforms/vmware-cloud-foundry -> https://pivotal.io/platform/services-marketplace/data-management/mongodb
93-
raw: drivers/use-cases/pre-aggregated-reports-mmapv1 -> https://docs.mongodb.com/manual/changeStreams
120+
121+
# RHEL -> Manual
122+
raw: drivers/platforms/red-hat-enterprise-linux -> ${manual}/tutorial/install-mongodb-enterprise-on-red-hat/
123+
raw: drivers/tutorial/configure-red-hat-enterprise-linux-identity-management -> ${manual}/tutorial/install-mongodb-enterprise-on-red-hat/
124+
raw: drivers/tutorial/manage-red-hat-enterprise-linux-identity-management -> ${manual}/tutorial/install-mongodb-enterprise-on-red-hat/
125+
126+
# Tools
127+
raw: drivers/tools/munin -> https://github.com/comerford/mongo-munin
128+
raw: drivers/tools/administration-interfaces -> https://docs.mongodb.com/tools/
94129
raw: drivers/tools/wireshark -> https://wiki.wireshark.org/Mongo
95-
raw: drivers/syntax-table -> ${base}/drivers
96-
raw: drivers/use-cases/sensitive-data-encryption -> ${base}/use-cases/client-side-field-level-encryption-guide
97-
raw: drivers/connectors/kafka -> ${kafka}
98-
raw: drivers/connectors/kafka-connect-migration -> ${kafka}/kafka-connect-migration
99-
raw: drivers/connectors/kafka-docker-example -> ${kafka}/kafka-docker-example
100-
raw: drivers/connectors/kafka-installation -> ${kafka}/kafka-installation
101-
raw: drivers/connectors/kafka-sink-cdc -> ${kafka}/kafka-sink-cdc
102-
raw: drivers/connectors/kafka-sink-data-formats -> ${kafka}/kafka-sink-data-formats
103-
raw: drivers/connectors/kafka-sink-postprocessors -> ${kafka}/kafka-sink-postprocessors
104-
raw: drivers/connectors/kafka-sink-properties -> ${kafka}/kafka-sink-properties
105-
raw: drivers/connectors/kafka-sink -> ${kafka}/kafka-sink
106-
raw: drivers/connectors/kafka-source -> ${kafka}/kafka-source
107-
raw: drivers/tools/http-interfaces -> ${base}/use-cases/http-interfaces
108-
109-
# https://jira.mongodb.org/browse/DOP-1633
110-
raw: drivers/use-cases/client-side-field-level-encryption-guide -> ${base}/security/client-side-field-level-encryption-guide/
111-
raw: drivers/use-cases/client-side-field-level-encryption-local-key-to-kms -> ${base}/security/client-side-field-level-encryption-local-key-to-kms/
130+
raw: drivers/tools/applications -> https://www.mongodb.com/community
131+
132+
# Use Cases -> Devhub
133+
raw: drivers/use-cases/category-hierarchy -> ${devhub}/
134+
raw: drivers/use-cases/hierarchical-aggregation -> ${devhub}/
135+
raw: drivers/use-cases/http-interfaces -> ${devhub}/
136+
raw: drivers/tools/http-interfaces -> ${devhub}/
137+
raw: drivers/use-cases/inventory-management -> ${devhub}/
138+
raw: drivers/use-cases/metadata-and-asset-management -> ${devhub}/
139+
raw: drivers/use-cases/product-catalog -> ${devhub}/
140+
raw: drivers/use-cases/storing-comments -> ${devhub}/
141+
raw: drivers/use-cases/storing-log-data -> ${devhub}/
142+
raw: drivers/use-cases/pre-aggregated-reports-mmapv1 -> ${manual}/changeStreams/
143+
raw: drivers/use-cases/pre-aggregated-reports -> ${manual}/changeStreams/
144+
raw: drivers/tutorial/write-a-tumblelog-application-with-flask-mongoengine -> https://pymodm.readthedocs.io/en/latest/getting-started.html

0 commit comments

Comments
 (0)