javascript window.history.pushState

JavaScript
window.history.pushState("http://example.ca", "Sample Title", "/example/path.html");

Source

Also in JavaScript: