Title: Redirecting Problem on Multisite Admin Panel
Last modified: August 22, 2016

---

# Redirecting Problem on Multisite Admin Panel

 *  [AlpDmr](https://wordpress.org/support/users/alpdmr/)
 * (@alpdmr)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/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 [http://www.site.com](http://www.site.com) So when i try to add
   a new plugin from Network Admin Panel it tries to load [http://www.site.com/wp-admin/network/plugin-install.php](http://www.site.com/wp-admin/network/plugin-install.php)
   but it should be [http://www.site.com/mainsystem/wp-admin/network/plugin-install.php](http://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…

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 3 months ago](https://wordpress.org/support/topic/redirecting-problem-on-multisite-admin-panel/#post-5825634)
 * Does your htaccess REALLY have the `<br>` in there or did you just do that?
 *  Thread Starter [AlpDmr](https://wordpress.org/support/users/alpdmr/)
 * (@alpdmr)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/redirecting-problem-on-multisite-admin-panel/#post-5825638)
 * no.. i did it here, because i forgot wrap the code with back-ticks and i want
   to make it readable then i couldn’t correct after i see that (edit time restriction)
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 3 months ago](https://wordpress.org/support/topic/redirecting-problem-on-multisite-admin-panel/#post-5825648)
 * Yeah, don’t use br 🙂 It doesn’t do anything helpful here.
 * For mainsystem try this .htaccess:
 *     ```
       RewriteEngine On
       RewriteBase /mainsystem/
       RewriteRule ^index\.php$ - [L]
   
       # add a trailing slash to /wp-admin
       RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
   
       RewriteCond %{REQUEST_FILENAME} -f [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule ^ - [L]
       RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
       RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
       RewriteRule . index.php [L]
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Redirecting Problem on Multisite Admin Panel’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 3 replies
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/redirecting-problem-on-multisite-admin-panel/#post-5825648)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
