AddDefaultCharset UTF-8

RewriteEngine On

RewriteRule ^thumb_([0-9]+)_([0-9]+)/(.*)$ /thumbs.php?x=$1&y=$2&url=$3 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/page([0-9]+)(.*)\.(xml|rss)$ index.php?u=$1$3&page=$2&force_format=$2&%{QUERY_STRING} [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\.(xml|rss)$ index.php?u=$1&force_format=$2&%{QUERY_STRING} [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/page([0-9]+)(.*)$ index.php?u=$1$3&page=$2&%{QUERY_STRING} [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?u=$1&%{QUERY_STRING} [L]