i am trying to redirect the page using header location in xampp but it is not working and redirecting to localhost/dashboard
i used the following code for simple redirecting in localhost , i placed my site in htdocs/test/ and files in that are index.html and index.php, the index.php code is as follows
<?php
header("Location:/index.html");
?>
when i am trying to access http://localhost/test/index.php it is not going to localhost/test/index.html but it is redirecting to http://localhost/dashboard/