I have passed in the href link as follows
<a href='http://ukbestweb-live.co.uk/trends/products/<?php echo $resGroup[id]; ?>/<?php echo str_replace(" ","-",trim($resGroup[group_name])); ?>'>$resGroup[group_name];</a>
My .htaccess code is as follows:
RewriteEngine on
RewriteRule ^products/([0-9]+)/(.*)$ products.php?group_id=$1&gcat=$2
So how can I convert the url "http://ukbestweb-live.co.uk/trends/products.php?group_id=7&group_name=Designer-Lighting" to "http://ukbestweb-live.co.uk/trends/group/Designer-Lighting"
For above seo friendly URL what should be my href link? And what should be the .htaccess?