javascrip ajax add hask to url withour refresh code example
Example: javascript change url without reload
window.history.pushState('', 'New Page Title', '/new-url.php');
window.history.pushState('', 'New Page Title', '/new-url.php');