Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.