The website I am referencing in my question is http://www.bgmenus.com.
I have successfully created clean urls like this for my listings: http://bgmenus.com/five-guys/341
I rewrote those using this:
RewriteRule /([^/.]+)/?$ /restaurants.php?id=$1 [L,NC,QSA]
The issue is the old URLs still exist and work: http://bgmenus.com/restaurants.php?id=341
My question is how can I 301 the
/restaurants.php?id=123 version of the URL back to the clean version so there aren't any duplicates.
Thanks for your help.