Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
First link on google stackoverflow.com/questions/8561485/are-ids-object...
There is a book about mongodb in Russian Kyle Banker "MongoDB in action" 2012 , it describes on the 96th page how not to show id in the url.
In short, the point is that you simply make an additional field for the object (in the book it is called slug) and write some human-readable text in Latin without spaces into it, show it in the URL. It turns out somedomain/article/kak_ya_izuchal_mongo
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question