diff --git a/config/redirects b/config/redirects index 1ae71b70..630928ec 100644 --- a/config/redirects +++ b/config/redirects @@ -8,9 +8,72 @@ raw: ${prefix}/ -> ${base}/current/ raw: ${prefix}/stable -> ${base}/current/ raw: ${prefix}/master -> ${base}/upcoming/ -# temporary redirect for a bad link +# temp redirects until DOP deletes unversioned URLs raw: ${prefix}/get-started/download-and-install/ -> ${base}/current/get-started/download-and-install/ +raw: ${prefix}/compatibility/ -> ${base}/current/compatibility/ +raw: ${prefix}/security/enterprise-authentication/ -> ${base}/current/security/authentication/ +raw: ${prefix}/faq/ -> ${base}/current/ +raw: ${prefix}/connect/connection-pools/ -> ${base}/current/connect/connection-options/#connection-pools +raw: ${prefix}/get-started/download-and-install/ -> ${base}/current/get-started/ +raw: ${prefix}/get-started/create-a-deployment/ -> ${base}/current/get-started/ +raw: ${prefix}/get-started/create-a-connection-string/ -> ${base}/current/get-started/ +raw: ${prefix}/get-started/connect-to-mongodb/ -> ${base}/current/get-started/ +raw: ${prefix}/get-started/next-steps/ -> ${base}/current/get-started/ +raw: ${prefix}/connect/csot/ -> ${base}/current/connect/connection-options/csot/ +raw: ${prefix}/connect/network-compression/ -> ${base}/current/connect/connection-options/network-compression/ +raw: ${prefix}/connect/server-selection/ -> ${base}/current/connect/connection-options/server-selection/ +raw: ${prefix}/connect/stable-api/ -> ${base}/current/connect/connection-options/stable-api/ +raw: ${prefix}/connect/tls/ -> ${base}/current/security/tls/ +raw: ${prefix}/write/bulk-write/ -> ${base}/current/crud/bulk-write/ +raw: ${prefix}/databases-collections/#configure-read-and-write-operations/ -> ${base}/current/crud/configure/ +raw: ${prefix}/write/delete/ -> ${base}/current/crud/delete/ +raw: ${prefix}/write/gridfs/ -> ${base}/current/crud/gridfs/ +raw: ${prefix}/write/insert/ -> ${base}/current/crud/insert/ +raw: ${prefix}/write/transactions/ -> ${base}/current/crud/transactions/ +raw: ${prefix}/write/update/ -> ${base}/current/crud/update/ +raw: ${prefix}/write/replace/ -> ${base}/current/crud/update/replace/ +raw: ${prefix}/read/ -> ${base}/current/crud/query/ +raw: ${prefix}/read/count/ -> ${base}/current/crud/query/count/ +raw: ${prefix}/read/cursors/ -> ${base}/current/crud/query/cursors/ +raw: ${prefix}/read/distinct/ -> ${base}/current/crud/query/distinct/ +raw: ${prefix}/read/retrieve/ -> ${base}/current/crud/query/find/ +raw: ${prefix}/read/project/ -> ${base}/current/crud/query/project/ +raw: ${prefix}/read/specify-documents-to-return/ -> ${base}/current/crud/query/specify-documents-to-return/ +raw: ${prefix}/read/specify-a-query/ -> ${base}/current/crud/query/specify-query/ +raw: ${prefix}/read/change-streams/ -> ${base}/current/monitoring-and-logging/change-streams/ +raw: ${prefix}/logging/ -> ${base}/current/monitoring-and-logging/logging/ +raw: ${prefix}/monitoring/ -> ${base}/current/monitoring-and-logging/monitoring/ +raw: ${prefix}/data-formats/custom-types/ -> ${base}/current/data-formats/custom-types/type-codecs/ +raw: ${prefix}/serialization/#binary-data -> ${base}/current/reference/compatibility/ +raw: ${prefix}/compatibility/ -> ${base}/current/reference/compatibility/ +raw: ${prefix}/motor-async-migration/ -> ${base}/current/reference/migration/ +raw: ${prefix}/pymongo-to-async-guide/ -> ${base}/current/reference/migration/ +raw: ${prefix}/previous-versions/ -> ${base}/current/reference/previous-versions/ +raw: ${prefix}/whats-new/ -> ${base}/current/reference/release-notes/ +raw: ${prefix}/tools/ -> ${base}/current/integrations/ +raw: ${prefix}/upgrade/ -> ${base}/current/reference/upgrade/ +raw: ${prefix}/write-operations/ -> ${base}/current/crud/ +raw: ${prefix}/get-started/connect-to-mongodb -> ${base}/current/get-started/run-sample-query/ +raw: ${prefix}/work-with-indexes/ -> ${base}/current/indexes/ +raw: ${prefix}/indexes/single-field-index/ -> ${base}/current/indexes/ +raw: ${prefix}/indexes/compound-index/ -> ${base}/current/indexes/ +raw: ${prefix}/indexes/multikey-index/ -> ${base}/current/indexes/ +raw: ${prefix}/indexes/atlas-search-index/ -> ${base}/current/indexes/ +raw: ${prefix}/indexes/text-index/ -> ${base}/current/indexes/ +raw: ${prefix}/indexes/geospatial-index/ -> ${base}/current/indexes/ +raw: ${prefix}/indexes/unique-index/ -> ${base}/current/indexes/ +raw: ${prefix}/indexes/wildcard-index/ -> ${base}/current/indexes/ +raw: ${prefix}/indexes/clustered-index/ -> ${base}/current/indexes/ + +raw: ${prefix}/aggregation/aggregation-tutorials/ -> ${base}/current/aggregation/ +raw: ${prefix}/aggregation/aggregation-tutorials/filtered-subset/ -> ${base}/current/aggregation/filtered-subset/ +raw: ${prefix}/aggregation/aggregation-tutorials/group-total/ -> ${base}/current/aggregation/group-total/ +raw: ${prefix}/aggregation/aggregation-tutorials/multi-field-join/ -> ${base}/current/aggregation/multi-field-join/ +raw: ${prefix}/aggregation/aggregation-tutorials/one-to-one-join/ -> ${base}/current/aggregation/one-to-one-join/ +raw: ${prefix}/aggregation/aggregation-tutorials/unpack-arrays/ -> ${base}/current/aggregation/unpack-arrays/ + +# TOC reorganization [*-master]: ${prefix}/${version}/security/enterprise-authentication/ -> ${base}/${version}/security/authentication/ [*-master]: ${prefix}/${version}/faq/ -> ${base}/${version}/ [*-master]: ${prefix}/${version}/connect/connection-pools/ -> ${base}/${version}/connect/connection-options/#connection-pools @@ -46,18 +109,14 @@ raw: ${prefix}/get-started/download-and-install/ -> ${base}/current/get-started/ [*-master]: ${prefix}/${version}/data-formats/custom-types/ -> ${base}/${version}/data-formats/custom-types/type-codecs/ [*-master]: ${prefix}/${version}/serialization/#binary-data -> ${base}/${version}/reference/compatibility/ [*-master]: ${prefix}/${version}/compatibility/ -> ${base}/${version}/reference/compatibility/ -[*-master]: ${prefix}/${version}/get-started/connect-to-mongodb/ -> ${base}/${version}/get-started/ -[*-master]: ${prefix}/${version}/get-started/create-a-connection-string/ -> ${base}/${version}/get-started/ -[*-master]: ${prefix}/${version}/get-started/create-a-deployment/ -> ${base}/${version}/get-started/ -[*-master]: ${prefix}/${version}/get-started/download-and-install/ -> ${base}/${version}/get-started/ -[*-master]: ${prefix}/${version}/get-started/next-steps/ -> ${base}/${version}/get-started/ [*-master]: ${prefix}/${version}/motor-async-migration/ -> ${base}/${version}/reference/migration/ [*-master]: ${prefix}/${version}/pymongo-to-async-guide/ -> ${base}/${version}/reference/migration/ [*-master]: ${prefix}/${version}/previous-versions/ -> ${base}/${version}/reference/previous-versions/ [*-master]: ${prefix}/${version}/whats-new/ -> ${base}/${version}/reference/release-notes/ [*-master]: ${prefix}/${version}/tools/ -> ${base}/${version}/integrations/ [*-master]: ${prefix}/${version}/upgrade/ -> ${base}/${version}/reference/upgrade/ -[*-master]: ${prefix}/${version}/write-operations/ -> ${base}/${version}/crud/[v4.7-*]: ${prefix}/${version}/get-started/connect-to-mongodb -> ${base}/${version}/get-started/run-sample-query/ +[*-master]: ${prefix}/${version}/write-operations/ -> ${base}/${version}/crud/ +[*-master]: ${prefix}/${version}/get-started/connect-to-mongodb -> ${base}/${version}/get-started/run-sample-query/ [*-master]: ${prefix}/${version}/work-with-indexes/ -> ${base}/${version}/indexes/ [*-master]: ${prefix}/${version}/indexes/single-field-index/ -> ${base}/${version}/indexes/ @@ -77,5 +136,3 @@ raw: ${prefix}/get-started/download-and-install/ -> ${base}/current/get-started/ [*-master]: ${prefix}/${version}/aggregation/aggregation-tutorials/one-to-one-join/ -> ${base}/${version}/aggregation/one-to-one-join/ [*-master]: ${prefix}/${version}/aggregation/aggregation-tutorials/unpack-arrays/ -> ${base}/${version}/aggregation/unpack-arrays/ -# temp redirect until DOP deletes unversioned URLs -[master]: ${prefix}/compatibility/ -> ${base}/current/compatibility/