Skip to content

DOCSP-44527 - v3 Upgrade redirects #261

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

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

mongoKart
Copy link
Collaborator

@mongoKart mongoKart commented Oct 17, 2024

The upgrade v2/v3 pages were added in the v3.0 docs. Redirects needed to prevent navigation to those pages in versions before v3.0.

Output of mut redirects:

Redirect 301 /docs/drivers/csharp/v2.19/upgrade/v2/ https://www.mongodb.com/docs/drivers/csharp/v2.19/upgrade/ Redirect 301 /docs/drivers/csharp/v2.20/upgrade/v2/ https://www.mongodb.com/docs/drivers/csharp/v2.20/upgrade/ Redirect 301 /docs/drivers/csharp/v2.21/upgrade/v2/ https://www.mongodb.com/docs/drivers/csharp/v2.21/upgrade/ Redirect 301 /docs/drivers/csharp/v2.22/upgrade/v2/ https://www.mongodb.com/docs/drivers/csharp/v2.22/upgrade/ Redirect 301 /docs/drivers/csharp/v2.23/upgrade/v2/ https://www.mongodb.com/docs/drivers/csharp/v2.23/upgrade/ Redirect 301 /docs/drivers/csharp/v2.24/upgrade/v2/ https://www.mongodb.com/docs/drivers/csharp/v2.24/upgrade/ Redirect 301 /docs/drivers/csharp/v2.25/upgrade/v2/ https://www.mongodb.com/docs/drivers/csharp/v2.25/upgrade/ Redirect 301 /docs/drivers/csharp/v2.26/upgrade/v2/ https://www.mongodb.com/docs/drivers/csharp/v2.26/upgrade/ Redirect 301 /docs/drivers/csharp/v2.27/upgrade/v2/ https://www.mongodb.com/docs/drivers/csharp/v2.27/upgrade/ Redirect 301 /docs/drivers/csharp/v2.28/upgrade/v2/ https://www.mongodb.com/docs/drivers/csharp/v2.28/upgrade/ Redirect 301 /docs/drivers/csharp/v2.29/upgrade/v2/ https://www.mongodb.com/docs/drivers/csharp/v2.29/upgrade/ Redirect 301 /docs/drivers/csharp/v2.30/upgrade/v2/ https://www.mongodb.com/docs/drivers/csharp/v2.30/upgrade/ Redirect 301 /docs/drivers/csharp/v2.19/upgrade/v3/ https://www.mongodb.com/docs/drivers/csharp/v2.19/upgrade/ Redirect 301 /docs/drivers/csharp/v2.20/upgrade/v3/ https://www.mongodb.com/docs/drivers/csharp/v2.20/upgrade/ Redirect 301 /docs/drivers/csharp/v2.21/upgrade/v3/ https://www.mongodb.com/docs/drivers/csharp/v2.21/upgrade/ Redirect 301 /docs/drivers/csharp/v2.22/upgrade/v3/ https://www.mongodb.com/docs/drivers/csharp/v2.22/upgrade/ Redirect 301 /docs/drivers/csharp/v2.23/upgrade/v3/ https://www.mongodb.com/docs/drivers/csharp/v2.23/upgrade/ Redirect 301 /docs/drivers/csharp/v2.24/upgrade/v3/ https://www.mongodb.com/docs/drivers/csharp/v2.24/upgrade/ Redirect 301 /docs/drivers/csharp/v2.25/upgrade/v3/ https://www.mongodb.com/docs/drivers/csharp/v2.25/upgrade/ Redirect 301 /docs/drivers/csharp/v2.26/upgrade/v3/ https://www.mongodb.com/docs/drivers/csharp/v2.26/upgrade/ Redirect 301 /docs/drivers/csharp/v2.27/upgrade/v3/ https://www.mongodb.com/docs/drivers/csharp/v2.27/upgrade/ Redirect 301 /docs/drivers/csharp/v2.28/upgrade/v3/ https://www.mongodb.com/docs/drivers/csharp/v2.28/upgrade/ Redirect 301 /docs/drivers/csharp/v2.29/upgrade/v3/ https://www.mongodb.com/docs/drivers/csharp/v2.29/upgrade/ Redirect 301 /docs/drivers/csharp/v2.30/upgrade/v3/ https://www.mongodb.com/docs/drivers/csharp/v2.30/upgrade/

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-44527

Staging Links

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Did you run a spell-check?
  • Did you run a grammar-check?
  • Are all the links working?
  • Are the facets and meta keywords accurate?

Copy link

netlify bot commented Oct 17, 2024

Deploy Preview for mongodb-docs-csharp ready!

Name Link
🔨 Latest commit ae474e3
🔍 Latest deploy log https://app.netlify.com/sites/mongodb-docs-csharp/deploys/671115749de9330009f8ba91
😎 Deploy Preview https://deploy-preview-261--mongodb-docs-csharp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@mcmorisi mcmorisi left a comment

Choose a reason for hiding this comment

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

LGTM

@mongoKart mongoKart merged commit 49b4fa3 into mongodb:master Oct 17, 2024
5 checks passed
@mongoKart mongoKart deleted the docsp-44527-upgrade-redirects branch October 17, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants