After long search i didn't find clear answer for this issue:
how to set the htaccess file in my site that all paths will be relative to the root and no to the "current sub-folder".
example : "sub-folder/images/img.png" to root/images/img.png
Asked
Active
Viewed 23 times
1 Answers
0
found answer in this post https://stackoverflow.com/a/9702083/6336750
RewriteEngine on RewriteRule ^./images/(.)$ http://%{HTTP_HOST}/images/$1 [L,R=301]