site is now a newer php driven site. This code worked fine in the older site, but it did not have 301 redirects. I want some popular pages to still be accessed.
IDK how the front page got there. maybe the host inserted it.
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AddHandler server-parsed .html
ErrorDocument 404 http://www.website.com/404
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^website.com
RewriteRule (.*) http://www.website.com/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\\ /index\\.htm\\ HTTP/
RewriteRule ^index\\.htm$ http://website.com/ [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\\ /index\\.php\\ HTTP/
RewriteRule ^index\\.htm$ http://website.com/ [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\\ /extra-income\\.html\\ HTTP/
RewriteRule ^index\\.htm$ http://website.com/niche/extra-income/ [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\\ /payoff\\.htm\\ HTTP/
RewriteRule ^index\\.htm$ http://website.com/calculators/payoff/ [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\\ /calcs\\.htm\\ HTTP/
RewriteRule ^index\\.htm$ http://website.com/calculators/ [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\\ /zero_my_hero\\.htm\\ HTTP/
RewriteRule ^index\\.htm$ http://website.com/zero_my_hero/ [R=301,L]
RewriteEngine On
RewriteRule ^go/([/_0-9a-zA-Z-]+)$providers.php?id=$1
<FilesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Cache-Control "max-age=2592000, public"
</FilesMatch>