Skip to content
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

DOCS-16978 - fix 404s #233

Merged
merged 2 commits into from
Mar 20, 2025
Merged
Changes from 1 commit
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
75 changes: 71 additions & 4 deletions config/redirects
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,77 @@ 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}/get-started/connect-to-mongodb/ -> ${base}/current/get-started/
raw: ${prefix}/get-started/create-a-connection-string/ -> ${base}/current/get-started/
raw: ${prefix}/get-started/create-a-deployment/ -> ${base}/current/get-started/
raw: ${prefix}/get-started/download-and-install/ -> ${base}/current/get-started/
raw: ${prefix}/get-started/next-steps/ -> ${base}/current/get-started/
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
Expand Down Expand Up @@ -57,7 +125,8 @@ raw: ${prefix}/get-started/download-and-install/ -> ${base}/current/get-started/
[*-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/
Expand All @@ -77,5 +146,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/
Loading