Answers for "how to change a pages url instead of .html"

5

javascript change url without reload

window.history.pushState('', 'New Page Title', '/new-url.php');
Posted by: Guest on July-22-2019
1

java script change url without reload

window.history.replaceState({}, '','/dashboard');
Posted by: Guest on October-09-2020

Code answers related to "how to change a pages url instead of .html"

Code answers related to "Javascript"

Browse Popular Code Answers by Language