#SWITCH mod_rewrite ON
Options +FollowSymLinks
RewriteEngine on
#OUR ABOVE CODE

RewriteRule index\.html$ index.php
RewriteRule indexcat-(.*)\.html$ index.php?action=cat&id=$1
RewriteRule view-(.*)\.html$ index.php?action=view&id=$1
RewriteRule t-(.*)\.html$ index.php?action=veiwtext&id=$1
RewriteRule download-(.*)\.html$ save.php?action=save&id=$1
RewriteRule downloadattach-(.*)\.html$ save.php?action=saveattach&id=$1
RewriteRule page-(.*)-(.*)\.html$ index.php?action=cat&id=$1&page=$2
RewriteRule visitsite-(.*)\.html$ ads.php?adsid=$1