How can I hide the hash value from the following link href in the address bar?
So it\'ll redirect me to a
You can use a Javascript onclick event. The browser will still show index.php, but the onclick event will trigger first, and redirect the browser to the right page.
index.php
<a href="index.php" onclick="location.redirect('index.php#dev');">