Change upload directory after launch

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 13, 2014   (RSS)

By Dave - February 13, 2014

Hi clowden, 

Unfortunately, there's no easy way to do that.

But if you're comfortable with MySQL (or want to learn) you could try this: 

  1. Backup the database first under: Admin > General
  2. Install the MySQL Console plugin: http://www.interactivetools.com/add-ons/detail.php?MySQL-Console-1011
  3. Try a query like this: UPDATE cms_articles SET content = REPLACE(content, "Search for this", "Replace with This")

Here's an article: http://stackoverflow.com/questions/4271186/how-can-i-use-mysql-replace-to-replace-strings-in-multiple-records

TIP: When doing raw MySQL queries, it's ALWAYS your best bet to assume you're going to mess everything up, and backup and test accordingly.  It's very easy to do so.  But as long as you have a backup you can always restore (through the CMSB Admin > General page).

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com

By clowden - February 13, 2014

I figured this was going to be the answer, but was crossing my fingers for some kind of magical way. Thanks for the help Dave.