Which did you do first? Own Directory or Multisite?
Own Directory First. Then Multisite.
During further testing/investigating, I noticed that rewrite rules where not being followed. After updating my apache config, I got rewrite working. And now the links are taking me to the correct pages but ONLY because the rewrite rules that are supplied by the admin handle if the “extra” directory is left off.
So, it isn’t an issue any more – however the function that returns the Network admin url still returns the wrong value.
Own Directory First. Then Multisite.
Good 😀
What’s your current .htaccess?
What’s your current .htaccess?
I used what the install displayed in Step 4.2 (Enabling the Network)
here it is:
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]
If that’s what WP gave you, then what did you mean by this?
And now the links are taking me to the correct pages but ONLY because the rewrite rules that are supplied by the admin handle if the “extra” directory is left off.
This line:
RewriteRule ^(wp-(content|admin|includes).*) wordpress/$1 [L]
The directory i put WordPress in I named “wordpress”, so that line handles any call to a “wp-” directory. and forces it into my install directory. if I look at the html of the admin the url for the Network Admin is “mysite.com/wp-admin/network/”. With out the rewrite rule – that link doesn’t work. The url to dashboard of a site however is “mysite.com/wordpress/wp-admin/”.
so that is what I meant. If I choose for some reason not to use mod_rewrite, then the links don’t work. and manually correcting them doesn’t fix the forms that submit to “/wp-admin/network/pagename” instead of “/wordpress/wp-admin/network/pagename”
If I choose for some reason not to use mod_rewrite, then the links don’t work.
Just to be clear, mod_rewrite, the module, is required 🙂 WP won’t do pretty permalinks without it, and Multisite just dies 😉
So, it isn’t an issue any more – however the function that returns the Network admin url still returns the wrong value.
That’s what’s really weird, and I’ve been seeing a few people with that problem. I can’t reproduce it 🙁