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

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

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

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