Are Your WordPress Images Not Showing?
ATTENTION: This was NOT a typical bank holiday Monday were I could relax with friends and enjoy the good weather!
Oh No; It was more like spending the whole day trying to understand the missing piece of my WordPress Puzzle!
It all started when couple of days ago I moved Kazooli.com from its single hosting account to a multiple domain hosting account as a second level domain.
I backed up, restored the files and changed the wp-config.php accordingly so that wordpress connects to my restored database.
That is the standard procedure of moving WordPress between hosting accounts so what could have I possibly done wrong?
The Problem – Why Are My WordPress Images Not Uploading?
All Newly Uploaded WordPress Images Not Showing!
a) Every time I uploaded an image from within wordpress admin area, the image didn’t show neither as attachment to a post nor though its URL link! The URL link of the image was exactly structured as it should i.e wp-content/uploads etc, but no image file would be on that folder if you were to look at it from within the hosting admin area unless I put the file manually using an ftp client!
b) When I uploaded the picture file manually using an ftp client the picture would show only when I would visit its URL but still not as an attachment to a post.
The Solution – Why Are My WordPress Images Not Showing?
It Can Only Mean One Thing a + b = c
Have you moved your wordpress to a multiple hosting account as a second level domain and you experience image issues after your restore installation and database configuration (wp-config.php) ?
Step 1: Log in to your WordPress admin area
Step 2: Go to Settings
Step 3: Select Miscellaneous
Step 4: Make sure that it’s set to default (wp-content/uploads)
When WordPresss is restored and moved to a second level domain, the database naturally tries to connect to the subfolder of your primary domain thus it is a database issue and not a hosting issue. This tiny problem took me just a little over 6 hours to figure out. I hope to have saved you time!










