0
Good staff I am learning url friendly, but I came across an error that I can not find solution, if I access localhost/farmacia/contato
the page is normally loaded without any problem, but when access localhost/farmacia/contato.php
my css does not load gets only pure HTML.
OBS# this problem applies to all pages of the system.
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1
put as this the css link, probably Voce should use the absolute link instead of the relative
– LocalHost
In the case of the absolute
localhost/farmacia/assets/estilo.css
– fabricio
You’re doing it this way?
– LocalHost
yes, all me head where it has the css and js ta with the absolute path.
– fabricio