Created
June 22, 2017 14:12
-
-
Save rorymcdaniel/0074a4b561c3239daada550f172a7d72 to your computer and use it in GitHub Desktop.
Pull Uploads from Production in WordPress staging environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /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