Answer the question
In order to leave comments, you need to log in
In wordpress media files, files are not displayed in the library, how to display them?
I was engaged in transferring the site to a new domain, one of the steps was the "transfusion" of the uploads folder. I poured only folders with dates (by years). After successfully uploading all the files, I went to the WordPress admin panel and was upset by the fact that there were no files. Those. physically they are, they are available upon direct request, but they are not displayed in the library. Maybe someone faced such a problem, how to fix it? There are guesses that somewhere in the database the paths to these files are registered ...
PS Clarification
On the new domain, the site is raised from scratch, only articles (import \ export) and media files were transferred from the old one, everything else is from scratch (layout, new functionality added)
Answer the question
In order to leave comments, you need to log in
I copy the same instructions for everyone who asks the same thing - "how to solve WordPress problems after a manual transfer":
In the modern world, WordPress does this:
https://wordpress.org/plugins/duplicator/ - put a plugin.
We go into it, click "Create package". Next, next, next.
We get installer.php and archive. Upload them to a new hosting (domain). Run site.com/installer.php. Enter a new username and password for the database.
Next, next, next.
At the end, follow the instructions on the screen - log in to the vp, resave the permalinks. Delete the installer files and the archive.
Everything. Everything has been moved. No problems with paths, etc.
If the files are transferred, then you can dump the database, open it through, for example, Notepad ++, replace the old domain in the entire file with a new one and restore the database. Case 5 minutes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question