Options +Indexes +FollowSymlinks -MultiViews
<IfModule mod_rewrite.c>
RewriteEngine On
#If your website is installed in a subfolder, change the line below to reflect the path to the subfolder.
#e.g. for http://www.example.com/subdomain1/subdomain2/ make it RewriteBase /subdomain1/subdomain2
RewriteBase /
#If you wish to use a custom 404 page, place a file named 404.php in your website's root and uncomment the line below.
#If your website is installed in a subfolder, change the line below to reflect the path to the subfolder.
#e.g. for http://www.example.com/subdomain1/subdomain2/ make it ErrorDocument 404 /subdomain1/subdomain2/404.php
#ErrorDocument 404 /404.php
#If your site begins with 'www', uncomment the following two lines
#RewriteCond %{HTTP_HOST} !^www\.
#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
#DO NOT EDIT BELOW THIS
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule . - [L]
#tollywood.php
RewriteRule ^tollywood$ "$0/" [R=301,L,QSA]
RewriteRule ^tollywood/$ tollywood.php [L,QSA]
RewriteRule ^tollywood/.*?([^\.\/]*)\.html$ tollywood.php?pname=$1 [L,QSA]
RewriteRule ^tollywood/([1-2]\d{3})/(?:(0[1-9]|1[0-2])/(?:(0[1-9]|1[0-9]|2[0-9]|3[0-1])/)?)?$ tollywood.php?d=$1$2$3 [L,QSA]
RewriteRule ^tollywood/[^\.]*?([^/\.]*)/$ tollywood.php?fname=$1 [L,QSA]
RewriteRule ^tollywood/[^\.]*?([^/\.]*)$ "$0/" [R=301,L,QSA]
#tennis.php
RewriteRule ^tennis$ "$0/" [R=301,L,QSA]
RewriteRule ^tennis/$ tennis.php [L,QSA]
RewriteRule ^tennis/.*?([^\.\/]*)\.html$ tennis.php?pname=$1 [L,QSA]
RewriteRule ^tennis/([1-2]\d{3})/(?:(0[1-9]|1[0-2])/(?:(0[1-9]|1[0-9]|2[0-9]|3[0-1])/)?)?$ tennis.php?d=$1$2$3 [L,QSA]
RewriteRule ^tennis/[^\.]*?([^/\.]*)/$ tennis.php?fname=$1 [L,QSA]
RewriteRule ^tennis/[^\.]*?([^/\.]*)$ "$0/" [R=301,L,QSA]
#sports.php
RewriteRule ^sports$ "$0/" [R=301,L,QSA]
RewriteRule ^sports/$ sports.php [L,QSA]
RewriteRule ^sports/.*?([^\.\/]*)\.html$ sports.php?pname=$1 [L,QSA]
RewriteRule ^sports/([1-2]\d{3})/(?:(0[1-9]|1[0-2])/(?:(0[1-9]|1[0-9]|2[0-9]|3[0-1])/)?)?$ sports.php?d=$1$2$3 [L,QSA]
RewriteRule ^sports/[^\.]*?([^/\.]*)/$ sports.php?fname=$1 [L,QSA]
RewriteRule ^sports/[^\.]*?([^/\.]*)$ "$0/" [R=301,L,QSA]
#hollywood.php
RewriteRule ^hollywood$ "$0/" [R=301,L,QSA]
RewriteRule ^hollywood/$ hollywood.php [L,QSA]
RewriteRule ^hollywood/.*?([^\.\/]*)\.html$ hollywood.php?pname=$1 [L,QSA]
RewriteRule ^hollywood/([1-2]\d{3})/(?:(0[1-9]|1[0-2])/(?:(0[1-9]|1[0-9]|2[0-9]|3[0-1])/)?)?$ hollywood.php?d=$1$2$3 [L,QSA]
RewriteRule ^hollywood/[^\.]*?([^/\.]*)/$ hollywood.php?fname=$1 [L,QSA]
RewriteRule ^hollywood/[^\.]*?([^/\.]*)$ "$0/" [R=301,L,QSA]
#bollywood.php
RewriteRule ^bollywood$ "$0/" [R=301,L,QSA]
RewriteRule ^bollywood/$ bollywood.php [L,QSA]
RewriteRule ^bollywood/.*?([^\.\/]*)\.html$ bollywood.php?pname=$1 [L,QSA]
RewriteRule ^bollywood/([1-2]\d{3})/(?:(0[1-9]|1[0-2])/(?:(0[1-9]|1[0-9]|2[0-9]|3[0-1])/)?)?$ bollywood.php?d=$1$2$3 [L,QSA]
RewriteRule ^bollywood/[^\.]*?([^/\.]*)/$ bollywood.php?fname=$1 [L,QSA]
RewriteRule ^bollywood/[^\.]*?([^/\.]*)$ "$0/" [R=301,L,QSA]
</IfModule>
redirect /looper-movie/ http://evaspelunker.com/hollywood/looper-movie.html
redirect /hollywood/bel-borba-aqui-movie/ http://evaspelunker.com/hollywood/bel-borba-aqui-movie.html
redirect /hollywood/just-45-minutes-from-broadway-movie/ http://evaspelunker.com/hollywood/just-45-minutes-from-broadway-movie.html
redirect /hollywood/killing-them-softly-movie/ http://evaspelunker.com/hollywood/killing-them-softly-movie.html
redirect /hollywood/now-forager-movie/ http://evaspelunker.com/hollywood/now-forager-movie.html