Link with id in URL

Hi everyone! Can you help me please with the problem? I need a Link component to another page with a URL that has a block ID. That is, I need that after clicking on Link on the next page, the scroll moves to a specific block, the id of which was in the url.

Also, the user can give a link containing the id to another user and when opening the site, scroll to this block.

Problem 1.
If I use /services#serv1 in Link, then when I go to Link, it converts the URL to /service/#serv1 and, accordingly, the page does not open

Problem 2.
If I go directly to the site with the link /services#serv1, the services page opens, but an error occurs and the content is not displayed.

How to solve this problem?