For example, I have a folder web.com/app/resource/css/ and from browser perspective I want the user to be able to access this folder via url web.com/css/ instead of web.com/app/resource/css/. How do I accomplish this with PHP?
            Asked
            
        
        
            Active
            
        
            Viewed 43 times
        
    -1
            
            
         
    
    
        user4643472
        
- 483
- 1
- 3
- 10
- 
                    7possible duplicate of [URL rewriting with PHP](http://stackoverflow.com/questions/16388959/url-rewriting-with-php) – Sougata Bose Aug 31 '15 at 04:43
1 Answers
0
            
            
        Put this in your .htaccess file:
RewriteEngine On
RewriteRule ^css app/resources/css/ [QSA,NC,L]
 
    
    
        Rehmat
        
- 4,681
- 3
- 22
- 38