I would like to change address url without navigation. I do it like
var url = window.location.href;
url = url.split('#');
var url_ = url[0] + '?task=product&url=' + selectedUrl;
history.pushState(null, null, url_);
After then I enter on url in address bar and navigated to this url url[0] + '?task=product&url=' + selectedUrl
.
But the problem comes when I navigate back, the address was changed but not page(the page is not load for changed url).
Now, How can I navigate back and page load by this url?