Skip to content

Instantly share code, notes, and snippets.

@thefrosty
Created January 21, 2014 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thefrosty/8548150 to your computer and use it in GitHub Desktop.
Save thefrosty/8548150 to your computer and use it in GitHub Desktop.
Can't seem to get this to work. Want all WordPress media files to point to the new Multisite install folder.
RewriteRule ^/wp-content/uploads/([0-9]{4})/([0-9]{2})/(.*)$ http://sub.domain.com/wp-content/uploads/sites/2/$1/$2/$3 [L,R=301]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment