Created
February 19, 2021 17:01
-
-
Save jacobmc/57d06ce093ec98c5e49cc48e0ea2835e to your computer and use it in GitHub Desktop.
Getting Production Images Locally - WordPress Bedrock
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
# BEGIN Dev Image | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{HTTP_HOST} ^example.localhost$ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_URI} ^\/app\/uploads\/(?!beaverbuilder)[^\/]*\/.*$ | |
RewriteRule ^(.*)$ https://www.example.com/$1 [QSA,L] | |
</IfModule> | |
# END Dev Image |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment