AddDefaultCharset UTF-8
DirectoryIndex index.php
RewriteEngine
on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}
!-d
RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]
RewriteCond %{HTTP_HOST}
^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]