Options +FollowSymLinks
RewriteEngine On 
RewriteBase /rdsgallery4/

RewriteRule ^(.*)_(.*)_(.*)_(.*).php$ index.php?category=$1&title=$2&cat=$3&ID=$4
RewriteRule ^(.*)_(.*).php$ index.php?category=$1&cat=$2
