Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pull Uploads from Production in WordPress staging environment
# /wp-content/uploads/.htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*) http://www.yourproductionserver.com/wp-content/uploads/$1 [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.