Search code examples
javascriptphphtmlurladdress-bar

how to fully change url without reloading the page to new url?


I have gone through many questions asked here regarding changing url without reloading. Whilst I tried almost all of the methods, I am failed to fully change the url of a page including its domain name part without reloading the new page. How can I do that?


Solution

  • That is not possible for a good reason. You can get more info about this here: Same-origin policy