Answer the question
In order to leave comments, you need to log in
What is the problem with wordpress?
In general, they demolished the site and the database. Restored from backup. Now some pictures are not displayed. I go through ftp and find these pictures - they lie in place. I go along the path from the browser - site.ru/wp-content/uploads/../../img.jpg produces content 404, something like that, along the path public_html/wp-content/uploads/../../img .jpg - yes
Answer the question
In order to leave comments, you need to log in
Hello!
There is not enough information for an exact answer... but here are the options:
1) Maybe in the backup there is only a picture and there are no thumbnails (or there is no thumbnail of the specified size), but on the site you display thumbnails. The wp regenerate thumbnails or wp-cli plugin (if you have access to ssh) will help solve this issue
2) Delete the htaccess file and re-update the permalinks. Eliminate possible plugin conflicts. If caching was enabled, then clear the cache, you can even delete the cache folder in wp-content
3) check the configuration of the server software
4) sometimes it happens that the picture itself is present, but there is no information about it in the database (there is no information that it was loaded into the media library). Hence the 404. I met with a situation where the picture was displayed on the site, but if you open the link in a new window, then 404 issued. And at the same time, the picture itself was not physically on the server. This is the case when there is a thumbnail, but no picture, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question