I changed my Drupal 6 website tag structure and got a new URL however old URLs are indexed in Google and are generating 404 errors.
My old URLs are
www.mydomain.com/topics/12345/widget
www.mydomain.com/topics/5783/widget2
numeral - 12345 in this URL was tag no in the database
new URL structure is
www.mydomain.com/topics/widget
www.mydomain.com/topics/widget2
Now I wish to create a redirect so that
mydomain.com/topics/12345/widget
goes to
www.mydomain.com/topics/widget
and remove the random numeral nos in URL.. How to do it?