Yes it will, i had a Joomla site on a domain name until a few weeks ago, when i changed its domain name, and needed to redirect the urls to the new site, so if anybody found the products in google, it would be redirected, so i made this htaccess file.
HTML Code:
redirect 301 /vr.html http://www.mysite.co.uk/index.php/ice-sculptures/ice-sculpture-movies
redirect 301 /testimonial.html http://www.mysite.co.uk/index.php/testimonials
redirect 301 /vr-elephant.html http://www.mysite.co.uk/index.php/ice-sculptures
redirect 301 /contact.html http://www.mysite.co.uk/index.php/contact-us
redirect 301 /nicolewedding.html http://www.mysite.co.uk/index.php/testimonials/ice-wedding-cake
redirect 301 /vr-fish.html http://www.mysite.co.uk/index.php/ice-sculpture-movies/1-sculptures/20-ice-fish-sculpture
redirect 301 /vr-elephant.html http://www.mysite.co.uk/index.php/ice-sculpture-movies/1-sculptures/19-ice-elephant-movie
redirect 301 /clients.html http://www.mysite.co.uk/index.php/our-clients
redirect 301 /products.asp http://www.mysite.co.uk/index.php/gallery
redirect 301 /sub.asp http://www.mysite.co.uk/index.php/gallery
You could also do this with none sef urls, so you just need to know what the url is it is trying to pick up, for example
HTML Code:
redirect 301 //index.php?option=com_virtuemart&page=shop.browse&category_id=2&Itemid=3 http://www.google.co.uk
would work perfectly ok.