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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -