Title: meta data not recognized after manually (sql) changed
Last modified: August 20, 2016

---

# meta data not recognized after manually (sql) changed

 *  [matfish2](https://wordpress.org/support/users/matfish2/)
 * (@matfish2)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/meta-data-not-recognized-after-manually-sql-changed/)
 * I have moved a newly built WordPress site from a sub directory in the remote 
   server, to the root directory. I have a couple of custom post types with meta
   data associated with them, including images metadata (i.e. file & URL). Obviously
   I had to remove the sub directory from the URL. I did so with a replace SQL query.
 * Now wordpress doesn’t recognize the meta data. When I write the following code:
 *  `$img = get_post_meta($post->ID,"mf_logo",true);
    var_dump($img);
 * I get “bool(false)”. I have tried to upload a new image, and it is showing. I
   then manually changed its URL through MySQL and again it wasn’t recognized.
 * It is important to note that the problem only happens with meta data in the form
   of array, and not with ‘normal’ meta-data
 * Your kind help would be most appreciated.

The topic ‘meta data not recognized after manually (sql) changed’ is closed to new
replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [matfish2](https://wordpress.org/support/users/matfish2/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/meta-data-not-recognized-after-manually-sql-changed/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
