sdempsey/dempsey-recipes/master/wp-content/uploads/.htaccess - Htaccess File

sdempsey/dempsey-recipes/master/wp-content/uploads/.htaccess

# If a file is not found locally, load from the production server
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f

  RewriteRule (.*) http://example.com/wp-content/uploads/$1
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache