Ganti tautan di JavaScript

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