3
I’m trying to use urls amigáveis
but I am having some problems in the learning process. The problem now is that the page does not return the page styles.
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteBase /
# RewriteRule ^(.*)$ index.php/$1 [L]
RewriteRule ^tratamentos/(.*) index.php?tratamentos=$1
I’m sending this url:
http://dent.axitech.com.br/tratamentos/aparelhos-dentarios
Question: Because the index doesn’t return my styles?
How is the call of style links in html?
– KhaosDoctor
Whereas index.php understands that it is at the root of the site, thus .... <link rel="stylesheet" href="js/Slick/Slick.css? v=Ababqgov" />
– Marcos Vinicius