Answer the question
In order to leave comments, you need to log in
Folder instead of DB query?
Hello, tell me with htaccess.
RewriteEngine On<br/>
RewriteCond %{REQUEST_FILENAME} -d [OR]<br/>
RewriteCond %{REQUEST_FILENAME} -s<br/>
RewriteRule ^.*$ - [L]<br/>
RewriteRule (.*)$ index.php?%{QUERY_STRING}<br/>
Answer the question
In order to leave comments, you need to log in
Replaced with:
Earned.
RewriteEngine On
RewriteCond %{REQUEST_URI} -d [OR]
RewriteCond %{REQUEST_FILENAME} -s
RewriteRule ^.*$ - [L]
RewriteRule (.*)$ index.php?%{QUERY_STRING}
Alternatively, you can do it differently:
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question