I have my PHP localhost project in folder named myproject in XAMPP localhost directory. Inside this project I need to use some hyperlinks, for example:
<a href="/">Home</a>
if I am on:
On production server this get me to the root of project (home), but on localhost I get:
instead of
How can I do this? I guess it will be something with .htaccess file. Thank you for advice