Skip to content

Instantly share code, notes, and snippets.

@sadrul
Created September 15, 2014 09:58
Show Gist options
  • Save sadrul/f585a33d7f557a5d6300 to your computer and use it in GitHub Desktop.
Save sadrul/f585a33d7f557a5d6300 to your computer and use it in GitHub Desktop.
Drupal pull live site images for local site use
To do this, need to write this line in .htaccess file -
RewriteRule ^(sites/default/files/.*) http://livesite.com/$1 [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment