UNPKG

@fws/cli

Version:

This CLI is work in progress and it's meant to work together with other Forwardslash boilerplates. Please do not use it if you don't have access to other stuff.

8 lines (7 loc) 242 B
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} <%= hostName %> RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+) http://<%= devName %>/wp-content/uploads/$1 [L,R=301,NE] </IfModule>