Relative paths of css and images in htacces nice url -
trying nice urls. when have url this: http://nove.illusions-media.cz/nase-sluzby
everythink ok. when url http://nove.illusions-media.cz/nase-sluzby/tvorba-webu
css , images not work. can me? how .htaccess looks like:
rewriteengine on rewritebase / rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewriterule ^([^/]+)/?$ ?stranka=$1 [l,qsa] rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewritecond %{request_uri} !\.(css|js|jpe?g|gif|png)$ [nc] rewriterule ^([^/]+)/([^/]+)?/?$ ?stranka=$1&podstranka=$2 [l,qsa]
Comments
Post a Comment