Alright, i have over 8500 files uploaded to several pages in my wp site. All the files are media links, which is the direct download from the page they are on.
I want to convert all those media files and link them back to their attachment pages without doing all 8500 files manually
One solution could be redirecting the media file to the corresponding attachment ID. But i'm totally lost, need any information to get me pointed in the correct direction.