Skip to content

Instantly share code, notes, and snippets.

@gmurphey
Created December 17, 2014 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmurphey/4e899670027062cefa2a to your computer and use it in GitHub Desktop.
Save gmurphey/4e899670027062cefa2a to your computer and use it in GitHub Desktop.
# BEGIN WordPress
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
# END WordPress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment