84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
1 hi, I want to implement the following rules: All requests are directed to index.phpAll resources (pictures, css, etc.) are directly accessed
How should I write my .htaccess? ? ? ?
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php [QSA,PT,L] </IfModule>
Cond is like this. If the file or folder exists, access it directly.
OK, if it does not exist, rewrite the Rules and point them all to index.php
Cond is like this. If the file or folder exists, access it directly.
OK, if it does not exist, rewrite the Rules and point them all to index.php