spoonFedForehead
5/4/2018 - 2:45 PM

htaccess for images

<IfModule mod_rewrite.c>
  RewriteEngine on
  # Attempt to load files from production if
  # they're not in our local version
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule app/uploads/(.*) \
    https://dixie-power.tenthmusedesign.com/app/uploads/$1 [NC,L]
</IfModule>

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress