Created
January 19, 2012 15:49
-
-
Save paulschreiber/1640694 to your computer and use it in GitHub Desktop.
WordPress multisite htaccess with rails apps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
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 [OR] | |
RewriteCond %{REQUEST_URI} ^/40under40 [OR] | |
RewriteCond %{REQUEST_URI} ^/donate [OR] | |
RewriteCond %{REQUEST_URI} ^/profiles [OR] | |
RewriteCond %{REQUEST_URI} ^/fundraisers [OR] | |
RewriteCond %{REQUEST_URI} ^/retreat [OR] | |
RewriteCond %{REQUEST_URI} ^/institute/ | |
RewriteRule ^ - [L] | |
RewriteRule . index.php [L] | |
</IfModule> | |
# END WordPress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment