Hi,
Assuming that you got it set up correctly, you need to set add field to the url in the page’s setting.
Check out this article:
https://support.wix.com/en/article/creating-dynamic-page-urls
In the code you need to query the member’s entry and apply it to wixLocation method.
const itemObj = //your member's entry from database collection
wixLocation.to(`/Members/${itemObj.dni}/${itemObj.title}`);
Good luck!
Roi.