How to target an anchor on another page?

Hi there, I’m creating a list of links on 1 page that direct to various local depots in various city details on another.

I’d like the links in the list to direct the user to the relevant position on the page.

In normal HTML I could usually do this by:
www.shop.com/depotpage.html#newyork,

but here I get www.shop.com/depotpage/
…no .html at the end.

www.shop.com/depotpage#newyork
doesn’t work.

Can someone enlighten me how this could be done?

OK. Simple… but didn’t see it at first.

www.shop.com/depotpage/#newyork

(slash between the page and the target)

works…

Thanks for your feedback!