I am using Drupal 7. Many of my url paths (up to 6,000) have moved to new url paths with no 301 redirect so they are returning lots of 404s on google. i have paths like /articles/bla/bla-bla/12345 which moved to /articles/bla-new/something/12345
Since the old path which now returns a 404 has the node id in the url at the end, i want to redirect a path like this "/articles/bla/bla-bla/12345"
to node/12345
once the system detects a 404
Any suggestions for using .htaccess redirect rules or other module to achieve this?
I've tried this: RewriteRule ^articles/*/+ node/+ [R=301,L]
but it doesnt look right.
I need some help. thank you in anticipation