Hi, I am developing a website and I want to use htaccess to change the url fromwww.abc.com/user.php?c=devian
to www.abc.com/user/devian
I use the code below to convert url and it's work but why all CSS and js not reading?
RewriteRule ^user/(.+)$ user.php?c=$1 [NC,L]
If I access www.abc.com/user.php?c=devian
then I can access it with no doubt but after convert the url everything become pure html:
Not only that, If query cannot be found (user.php?c=query
) it will redirect back to www.abc.com/user/index.php . Any solution?