Skip to content

Instantly share code, notes, and snippets.

@nickdavis
Created April 12, 2014 08:41
Show Gist options
  • Save nickdavis/10525079 to your computer and use it in GitHub Desktop.
Save nickdavis/10525079 to your computer and use it in GitHub Desktop.
.htaccess 301 redirect local WordPress dev site images folder to live website images folder (to save fllling up local drive with 1000's of unnecessary images)
#301 Redirect Local Images to Live
RedirectMatch 301 ^/wp-content/uploads/(.*) http://livewebsite.com/wp-content/uploads/$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment