jquery change browser url without reloading code example
Example 1: js change url
window.location.href = "www.google.com";
Example 2: change url without reloading
function processAjaxData(response, urlPath){
document.getElementById("content").innerHTML = response.html;
document.title = response.pageTitle;
window.history.pushState({"html":response.html,"pageTitle":response.pageTitle},"", urlPath);
}