rewrite urls for product name
snippet in htaccess

rewrite urls for product name

user6707

RewriteEngine On
RewriteRule ^products/([0-9]+)\-([a-z0-9_\-]+)/?$ products.php?product_id=$1 [NC,L,QSA]