Good afternoon, I have a question, I implemented friendly urls for a page of my website. This way,
RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %(REQUEST_FILENAME} !-d
RewriteRule ^investimentos/(.*)/(.*)/(.*)/(.*)$ anuncio.php?id=$3&acao=$4
It worked perfectly, the problem is that on this page to get for example the css I have to do ../../../../******.css or an image or links, I have to (I think there are 4 folders), is there any way I can not do this?