I'm using Valet and my link to the css file is not working. I have this in my file /exemplo/index.php
<link rel="stylesheet" type="text/css" href="css/style.css">
The file is in /exemplo/css/style.css
. The browser attempts to load the file /css/style.css
.
I just did another test here and noticed that when http://local.dev/example
access does not work. But when http://local.dev/example/index.php
access works.
Until that makes sense, but is there any way to make it work for both? Not even a function of php.