I have a page with a URL like below:
http://mysite/link_to_somepage#label
I'm using fullpage.js to have multiple sections in my page which uses anchors to point to each individual section. The last part of the url is a label for anchoring to multiple sections in the page. It can get several values based on status of page. The problem is user might get to some section(which changes the section label in the URL) and then if he/she reload the page it will go to that particular section based on the last label specified in the URL and this is something that i need to change. I need to change the label section of the URL before finishing the load of the page to some default label, or just remove the whole label part to prevent fullpage to scroll to that section(I want to always go to the first section on page load).
I'm using jquery and I have no idea how to do this. Any Suggestion is highly appreciated.