RewriteEngine on
<Files 403.shtml>
order allow,deny
allow from all
</Files>
Rewritecond %{http_host} ^vatikag.com [nc]
Rewriterule ^(.*)$ http://www.vatikag.com/$1 [r=301,nc]
RewriteRule ^downloads/([0-9]*)/([a-zA-Z0-9\-\_\.]+)\.shtml$ index.php?vid=$1&name=$2 [NC,L]
RewriteRule ^downloads/([0-9]*)/([a-zA-Z0-9\-\_\.]+)/([0-9]*)/([a-zA-Z0-9\-\_\.]+)\.shtml$ index.php?vid=$1&name=$2&ID=$3&topic=$4 [NC,L]
RewriteRule ^downloads/([0-9]*)/([a-zA-Z0-9\-\_\.]+)/([0-9]*)/([a-zA-Z0-9\-\_\.]+)/page-([a-zA-Z0-9\-\_\.]+)\.shtml$ index.php?vid=$1&name=$2&ID=$3&topic=$4&start=$5 [NC,L]
RewriteRule ^downloads/([0-9]*)/([a-zA-Z0-9\-\_\.]+)/([0-9]*)/([a-zA-Z0-9\-\_\.]+)/([0-9]*)/([a-zA-Z0-9\-\_\.]+)\.shtml$ index.php?vid=$1&name=$2&ID=$3&topic=$4&attachid=$5&filename=$6 [NC,L]
RewriteRule ^tags/([a-zA-Z0-9\-\_\.]+)\.shtml$ index.php?sort=$1 [NC,L]
RewriteRule ^tags/([a-zA-Z0-9\-\_\.]+)/page-([a-zA-Z0-9\-\_\.]+)\.shtml$ index.php?sort=$1&start=$2 [NC,L]
RewriteRule ^contact\.php$ index.php?contact=en [L,QSA,NC]
RewriteRule ^privacy\.php$ index.php?privacy=en [L,QSA,NC]

# Uncomment below to apply hotlink
#RewriteCond %{HTTP_REFERER} !^$
#RewriteCond %{HTTP_REFERER} !^http://vatikag.com/.*$      [NC]
#RewriteCond %{HTTP_REFERER} !^http://vatikag.com$      [NC]
#RewriteCond %{HTTP_REFERER} !^http://www.vatikag.com/.*$      [NC]
#RewriteCond %{HTTP_REFERER} !^http://www.vatikag.com$      [NC]
#RewriteCond %{HTTP_REFERER} !^http://wapkut.in/.*$      [NC]
#RewriteCond %{HTTP_REFERER} !^http://wapkut.in$      [NC]
#RewriteCond %{HTTP_REFERER} !^http://www.wapkut.in/.*$      [NC]
#RewriteCond %{HTTP_REFERER} !^http://www.wapkut.in$      [NC]
#RewriteRule .*\.(jpg|jpeg|gif|png|bmp|avi|jar|3gp|mp3|mp4|sis|rar|exe|nth|zip|thm)$ http://www.vatikag.com [R,NC]

# Uncomment below to enable browser cache
#<IfModule mod_headers.c>
#Header unset Pragma
#FileETag None
#Header unset ETag
#<FilesMatch "\.(ico|jpg|jpeg|gif|png)$">
#Header set Cache-Control "max-age=2419200, public"
#</FilesMatch>
#<FilesMatch "\.(html|htm|shtml|php)$">
#Header set Cache-Control "max-age=86400, public"
#</FilesMatch>
#</IfModule>
#ErrorDocument 404 /error.php