Skip to content

Instantly share code, notes, and snippets.

@rorymcdaniel
Created March 8, 2017 22:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rorymcdaniel/9bf4af7c7a98f812cdb3813585ba2f23 to your computer and use it in GitHub Desktop.
Save rorymcdaniel/9bf4af7c7a98f812cdb3813585ba2f23 to your computer and use it in GitHub Desktop.
Deployment Script for Pagely VPS and Envoyer
# Thanks to Arman Zakaryan at Pagely for this suggestion
# Obviously, replace example.com with your production URL
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*) http://www.example.com/wp-content/uploads/$1 [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment