.htaccess 256 B

12345678910
  1. RewriteEngine On
  2. RewriteBase /tcms
  3. RewriteCond %{REQUEST_FILENAME} !-f
  4. RewriteCond %{REQUEST_URI} !^index\.php
  5. #RewriteCond %{QUERY_STRING} ^$
  6. RewriteRule ^(.*?)(\?.*)?$ index.php?$1 [L]
  7. #RewriteCond %{QUERY_STRING} !^$
  8. #Redirect ^(.*?)(\?.*)?$ $1