php - does Using clean URL's with query strings change the path/directory -
when use .htaccess , mod_rewrite redirect url query strings,
for example: http://www.mysite.com/index.php?group=a&id=23
to url this: http://www.mysite.com/index/a/23
does change path on server, used link .css , .js files?
when have main.css in same folder index.php, have change link file like: <link href="../../main.css" rel="stylesheet" type="text/css">
or can stay this: <link href="main.css" rel="stylesheet" type="text/css">
yes changes path browser send. browser not know mod_rewrite
rules @ all.
Comments
Post a Comment