Title: can&#039;t replace with empty string
Last modified: August 30, 2016

---

# can't replace with empty string

 *  [Cyberchicken](https://wordpress.org/support/users/cyberchicken/)
 * (@cyberchicken)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/cant-replace-with-empty-string/)
 * I know this was by design a safety feature, but I actually needed to do it:
 * I moved my jpgs from uploads/2015/02/ to simply uploads/
 * I already replaced “uploads/2015/02” with “uploads/” and did most of the job,
   but not all!
 * It happens that the postmeta table contains
    “2015/02/mypic.jpg” (php serialized)
   so, in this case I will need to replace “2015/02/” with “”
 * What can I do?
 * Thank you 🙂
 * [https://wordpress.org/plugins/wp-migrate-db/](https://wordpress.org/plugins/wp-migrate-db/)

The topic ‘can't replace with empty string’ is closed to new replies.

 * ![](https://ps.w.org/wp-migrate-db/assets/icon.svg?rev=2851356)
 * [WP Migrate Lite - Migration Made Easy](https://wordpress.org/plugins/wp-migrate-db/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-migrate-db/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-migrate-db/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-migrate-db/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-migrate-db/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-migrate-db/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Cyberchicken](https://wordpress.org/support/users/cyberchicken/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/cant-replace-with-empty-string/)
 * Status: not resolved