inserting the ID begore the hash sign is what is expected - if it is after the hash it won't be a parameter anymore (and therefore it will not work as expected). so it is best to have the id parameter appended before the hash.
what makes your website break is most like a problem of the website. talk to the devs and tell them you want to access the page with a certain parameter. I assume they are able to fix this issue on their side...