Skip to content

Instantly share code, notes, and snippets.

@cantonic
Created May 3, 2012 15:08
Show Gist options
  • Save cantonic/2586338 to your computer and use it in GitHub Desktop.
Save cantonic/2586338 to your computer and use it in GitHub Desktop.
rewrite ^.*/files/(.*)$ /wp-includes/ms-files.php?file=$1 last;
if (!-e $request_filename)
{
rewrite ^(.+)$ /index.php?q=$1 last;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment