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

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -