File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212
1313   ## Paths explicitly blocked from being handled by the server, except for admin and robots 
1414  RewriteRule  ^config.php  index.php  [L,NC]
15+   RewriteRule  ^pages/*  index.php  [L,NC]
16+   RewriteRule  ^plugins/*  index.php  [L,NC]
17+   RewriteRule  ^layouts/*  index.php  [L,NC]
1518  RewriteRule  ^robots.txt  robots.txt  [L,NC]
1619
1720     ## Paths explicitly handled by the server 
1821    RewriteCond  %{REQUEST_FILENAME}  -f 
1922    RewriteCond  %{REQUEST_FILENAME}  !/.well-known/* 
2023    RewriteCond  %{REQUEST_FILENAME}  !/content/.* 
2124    RewriteCond  %{REQUEST_FILENAME}  !/assets/.* 
22-     RewriteCond  %{REQUEST_FILENAME}  !/pages/.* 
23-     RewriteCond  %{REQUEST_FILENAME}  !/plugins/.* 
24-     RewriteCond  %{REQUEST_FILENAME}  !/layouts/.* 
2525    RewriteRule  !^index.php  index.php  [L,NC]
2626
2727   ## Block all PHP files, except index 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments