URL update how to 301 redirect 30k plus links


Hi guys

I have updated my URL on my site and have over 30k indexed links. How do I 301 redirect them?

Apache server redirect will not work due to the new links having .html at the end and a new structure.

There is one common denominator and the is the photo I’d number.

I am not 100% sure of etiquette here so have not posted a link but have a list of old and new URL ready to go.

Thanks a lot