Hello.
For me, it is not possible to send a link without the id of your item. rewriting the address does only change the url into the browser. you always need the id of your element to access the page.
the better solution for me is to create a redirect page like this :
window.location.replace("index.php/?option=com_xyz&view=abc&layout=def&id=10");
the joomla SEO setting can hide the url of your item