Redirecting Problem on Multisite Admin Panel
-
Hi all,
I’ve installed (fresh) my main WP Multisite on public_html/mainsystem/ subfolder (and i’ve not install any sub-site yet) and activate Multisite option without any problem. When i enter my main site panel and settings there is no problem but when i try to switch Network Options (Sites, Users, Plugins, even when try to install a new plugin) my panel redirects me to public_html/.
Eg:
My main site is https://www.site.com So when i try to add a new plugin from Network Admin Panel it tries to load https://www.site.com/wp-admin/network/plugin-install.php but it should be https://www.site.com/mainsystem/wp-admin/network/plugin-install.php
My top level htaccess file is same as below:<br /> # BEGIN WordPress<br /> <IfModule mod_rewrite.c><br /> RewriteEngine On<br /> RewriteBase /<br /> RewriteRule ^index\.php$ - [L]<br /> RewriteCond %{REQUEST_FILENAME} !-f<br /> RewriteCond %{REQUEST_FILENAME} !-d<br /> RewriteRule . /index.php [L]<br /> </IfModule><br /> # END WordPress<br />
My Main site htaccess file is same as below:
<br /> # BEGIN WordPress<br /> <IfModule mod_rewrite.c><br /> RewriteEngine On<br /> RewriteBase /<br /> RewriteRule ^index\.php$ - [L]</p> <p># add a trailing slash to /wp-admin<br /> RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]</p> <p>RewriteCond %{REQUEST_FILENAME} -f [OR]<br /> RewriteCond %{REQUEST_FILENAME} -d<br /> RewriteRule ^ - [L]<br /> RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) mainsystem/$2 [L]<br /> RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ mainsystem/$2 [L]<br /> RewriteRule . index.php [L]<br /> </IfModule><br /> # END WordPress<br />
What should i do to correct this issue?
Thanks right now, Regards…
- The topic ‘Redirecting Problem on Multisite Admin Panel’ is closed to new replies.