I am using Multisite 3.5 Beta3 in a folder - so not the root. It was a pre-existing wordpress blog. I have it set to use sub.domains.com not folders domain.com/sub
My folder looks like this: www/wordpress/ I have the Redirects presented below which it said to put in the .htaccess file in the file (see screen shot here):
www/wordpress/.htaccess
But I think this is wrong. I think it should be in the .htaccess file at
www/.htaccess
This is where they would go with a single install. Am I correct or are the directions correct?
# BEGIN WordPress
# RewriteRules commented out after starting multi site but present prior to
# and carried over from single site.
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteBase /
#RewriteRule ^index\.php$ - [L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]
#</IfModule>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) wordpress/$1 [L]
RewriteRule ^(.*\.php)$ wordpress/$1 [L]
RewriteRule . index.php [L]
# END WordPress
The reason I am asking is because when I added the redirect rules to the .htaccess file it throws in this pretty link: domain.com*/blog/2008/09/02*/post-slug
Under single site my pretty link settings were to have domain.com/post-slug and that is what I want to retain. Well I went to go adjust these in the admin panel and WP kicked me out and made me sign in again. I tried this repeatedly but I get redirected to the login page again. I thought well my password might be bad so I went into phpmyadmin and changed it per the codex but that is no longer the issue. What do I need to do? do the ReWrite Rules need to be inside the <IfModule> tages?