0

[URL_REWRITING] The page is not showing CSS and Images, what can I do?

I have two URLs : foo.html and foo/bar.html that mactch the following rule #.HTACCESS RewriteRule (.*)(/*)(*.)(\.html?) page.php?key1=$1&key2=$2&key3=$3 #PHP: I can get values from those keys, the first url(foo.html) works wich is translated to page.php?key1=foo. but when i try whit the second one, (foo/bar.html) its translted to some thing like /*/page.php?key1=foo&key3=bar intead of just page.php?key1=foo&key3=bar causing CSS and IMAGES pointed to a wrong directory. How can I fix it, thanks!

19th Sep 2018, 8:35 PM
Marien Mupenda
Marien Mupenda - avatar
1 Réponse
0
What are your paths to CSS and images that aren't shown? Do they throw up 404 or something other like 403?
24th Dec 2019, 12:05 PM
Randych
Randych - avatar