dubilicious
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Menu Links for Network Admin missing directory for wordpressThis 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”
Forum: Networking WordPress
In reply to: Menu Links for Network Admin missing directory for wordpressWhat’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]Forum: Networking WordPress
In reply to: Menu Links for Network Admin missing directory for wordpressOwn 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.