Update Drupal files path in database manually

Dragan Eror's picture

Move Drupal site from one subdomain to another subdomain in multisite Drupal installation easy with manually updating files path in database.

UPDATE files SET filepath = REPLACE (filepath, 'old/path', 'new/path');

Source

Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.