I have a url like
http://www.mywebsite.com/shop-single-full.php?img=35
I want to rewrite and redirect this url like
http://www.mywebsite.com/Pure-Copper-Embossed-Jug-amp-4-Steel-Copper-Glass-Set-35.html
where text is the product name. I also want when someone want to access
http://www.mywebsite.com/shop-single-full.php?img=35
it will automatically redirect it to
http://www.mywebsite.com/Pure-Copper-Embossed-Jug-amp-4-Steel-Copper-Glass-Set-35.html
Whatever I have tried is
RewriteRule ^shop-single-full/?$ ([A-Za-z0-9_\-]+)\-([0-9]+).html?%1 [R,L]
RewriteRule ^([A-Za-z0-9_\-]+)\-([0-9]+).html?$ /shop-single-full.php?img=$2&name=$1
but there is some problem in redirection.Thanks