redirecting to a page with a specific id code example
Example 1: javascript redirect
window.location.href = "http://mywebsite.com/home.html";
Example 2: javascript change url without reload
window.history.pushState('', 'New Page Title', '/new-url.php');