I have several hundred posts which include a mix of single image and gallery blocks. All of them currently link to media file. What's the fastest way to change this to attachment page instead? (And back to media file, as an "undo")?
I found this but for some reason the answer selected has negative votes which makes me unsure about running it. It is also only for gallery blocks but not single image blocks. How to link Gutenberg Gallery images To Media file automatically?