Hello everybody 😀 I would like to ask for your help on this problem.
I have a .htacess and I want to make my files secure. I want to make a url for my css to different from its original path. Its like hiding the directory of the css or removing it from the url but still when the browser fetches the file it points to the write file path.
Example
Orignal path
Directory: /public_html/styles/main.css
Web URL: http://www.domain.com/styles/main.css
What I want:
Directory: /public_html/styles/main.css
Web URL: http://www.domain.com/main.css
I don’t see any problem here.
It just makes no sense. CSS files intended to be “insecure”, i.e. accessed by everyone.
It makes no sense again. Hiding directory path doesn’t make the file secure.