RewriteEngine On RewriteRule ^[a-zA-Z0-9]{3}([a-z]{2,4})/([a-zA-Z0-9]{3,15})_([0-9]{1,7}).htm$ index.php?smsite=$1&smid=$3&smtemp=$2 [L] RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteCompatibility2 On RepeatLimit 32 RewriteBase # unsupported directive: [ISAPI_Rewrite] # 3600 = 1 hour # unsupported directive: CacheClockRate 3600 RewriteRule ^/tag/(.*)$ /index\.php\?tag=$1 RewriteRule ^/software-files/(.*)$ /software-files/$1 [L] RewriteRule ^/images/(.*)$ /images/$1 [L] RewriteRule ^/sitemap.xml$ /sitemap.xml [L] RewriteRule ^/favicon.ico$ /favicon.ico [L] RewriteRule ^/wp-(.*)$ /wp-$1 [L] RewriteRule ^/$ /index.php [L] RewriteRule ^/(.*)$ /index.php/$1 [L]