Recommend this page to a friend! |
Classes of devg | > | Router Lite | > | example/.htaccess | > | Download |
|
![]() |
AddDefaultCharset utf-8 Options -Indexes RewriteEngine On # Redirect from www #RewriteCond %{HTTP_HOST} ^www\.(.*) [NC] #RewriteRule ^(.*)$ http://%1/$1 [R=301,L] # All requests to index.php RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php [QSA,L] |