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