This code changes the dynamic url to static but it redirects to the dynamic url. How can i set this so that it redirects to the dynamic url?
RewriteRule ^lang-([a-z]{2})/([0-9]+)-([a-zA-Z0-9-]).html(.)$ /product.php?id_product=$2&isolang=$1$4 [L,E,R=301]