I used the wordpress import software to import a file and downloaded the attachments included. After a profitable importation, I found that my media library solely comprises 3 file. After hours of analysis with no answer, I checked the database and found that there have been solely 3 rows with the kind ‘attachment’ which had been the recordsdata displaying within the media library. Nevertheless, all of the recordsdata in wp-content/uploads
are utterly intact.
Is there any method I can restore attachment in all probability by scanning each file within the wp-content/uploads
listing and including the mandatory file again to database?