1
0

.htaccess 433 B

12345678910111213
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteCond %{REQUEST_FILENAME} !-f
  4. RewriteCond %{REQUEST_FILENAME} !-d
  5. RewriteRule ^([^/]*)\/?$ index.php?page=$1
  6. RewriteRule ^([^/]*)/([^/]+)\/?$ index.php?page=$1&app_id=$2 [L]
  7. RewriteRule ^([^/]*)/([^/]+)/([^/]+)\/?$ index.php?page=$1&app_id=$2&new_id=$3 [L]
  8. RewriteCond %{REQUEST_FILENAME} !-d
  9. RewriteCond %{REQUEST_FILENAME}.php -f
  10. RewriteRule ^ %{REQUEST_URI}.php [L,NC]
  11. </IfModule>