javascript modify url without reloading page code example
Example: javascript modify url without reloading page
window.history.pushState('', 'New Page Title', '/new-url.php');
window.history.pushState('', 'New Page Title', '/new-url.php');