- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-s
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule \.(jpeg|gif|bmp|png|jpg|css|js)$ - [L]
RewriteRule ^([a-z]+)$ index.php?param1=$1 [L,QSA]