Make .htaccess to keep REAL file path -
okay, want htaccess rewrite profile.html?id=1 profile/1/, resources , scripts, may loaded profile.html requesting profile/1/js/....
can somehow keep real relative path of file , prettify url @ meantime?
in files add / before js, css, images etc. should try files root folder. if javascript file in js folder be:
<link rel="stylesheet" href="/js/script.js" />
Comments
Post a Comment