Remplacer le lien en javascript

  window.location.replace("http://localhost/wordpress/dashboard/");
kinjal suryavanshi