I am looking for some guidance on how to forward specific html files to a new locations. The motivation is for users who might have bookmarked a no longer current location and best practices for SEO functionality. Here would be an example:
There is no consistency to the path of old and new file locations, so my thought would be to define based upon the URI ending in old_file.html. However, in my testing I have not been able to get it correct. Would something like this be the best approach, of course I need to get the proper regex to allow it to work?
Is a 301 redirect the best way to ensure that SEO is updated for new locations?
Any guidance is much appreciate.