Looks like I did the rookie mistake to change the name and path of the wp-content folder after working on my website for two long weeks.
The website is still functional though. — That’s why I did not immediately revert to the backup I made and kept working on it with my client.
It’s only now that I am realizing that only the media upload feature is broken.
Here’s what happening: when I upload a new file, WP accepts it but generates a blank thumbnail. The new image is 404 on the website. All previous images are fine however.
It seems the new images are still being uploaded in the old wp-content folder (and processed there as well) and NOT to the new wp-content (secure-wp-content).
To fix the missing image, I have to copy it from the old “wp-content” folder to the newer folder “secure-wp-content”.
I tried to bring back the files that were moved to their original location revert the path in config.php but it did not work (website broken).
I also tried to change the upload path straight in the database and nothing changed.
How can I fix that?
- The topic ‘Upload path seems broken’ is closed to new replies.