mongodb/docs-node

Googling for "mongodb node driver insertone" will bring the user to a 404 page.

t-eckert opened this issue · 1 comments

This issue originates with what Google is indexing for the top result, but probably because something got moved, the first result when I (and maybe most people) search "mongodb node driver insertone" links to https://docs.mongodb.com/drivers/node/usage-examples/insertOne/.

The actual article the user is looking for is https://docs.mongodb.com/drivers/node/current/usage-examples/insertOne/. The difference here being current in the path.

- https://docs.mongodb.com/drivers/node/usage-examples/insertOne/
+ https://docs.mongodb.com/drivers/node/current/usage-examples/insertOne/

It may be worthwhile to add a redirect in your docs code from https://docs.mongodb.com/drivers/node/* to https://docs.mongodb.com/drivers/node/current/*.

image
image

Thanks, this is resolved now!