2017  Kodetalk | Feedback | Privacy Policy | Terms | About

Modify the URL without reloading the page

Is there any way I can modify the URL of the current page without reloading the page?


I hope the below piece of code will modify your URL without any page reloading.

history.pushState({}, null, newUrl);
Answer is