Deleting #section link part from the browser's address bar


I have a website exported from Webflow. If I click on a button it takes me to a section (the browser scrolls to it). However, after that, the link in the address bar of the browser changes from “website. com” to “website. com/#section”. I need the extra part to be hidden so that the link is always the same “website. com”. Again: the site is exported from Webflow. Please keep the solution simple if possible. I have tried so many things, but couldn’t make it work:/

Thank you in advance!

Maybe a strange question, but why?

1 Like

Because when someone shares the page (the link) with someone, that other person would see the scrolled page which is not okay.