Options +FollowSymLinks RewriteEngine On RewriteRule ^index.html$ index.php [QSA] RewriteRule ^0,0,(.*)(,([0-9]+))\.html$ ?p=productsList&iPage=$3 [QSA] RewriteRule ^0,0\.html$ ?p=productsList [QSA] RewriteRule ^([0-9]+),0,(.*)(,([0-9]+))\.html$ ?p=p_$1&iPage=$4 [QSA] RewriteRule ^([0-9]+),0,(.*)\.html$ ?p=p_$1 [QSA] RewriteRule ^0,([0-9]+),(.*)\.html$ ?p=productsMore&iProduct=$1 [QSA]