Title: redirection after login (multisite)
Last modified: August 20, 2016

---

# redirection after login (multisite)

 *  [WPtesting](https://wordpress.org/support/users/wptesting/)
 * (@wptesting)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/redirection-after-login-multisite/)
 * I have two multisites network. One is with sub-dir and another one is subdomain
   installation.
 * On Sub-dir:
    1- On my sub directory installation, users automatically redirect
   to their primary site’s dashboard after login. 2- If a user opens `www.mydomain.
   com/wp-admin` while logged in, it redirects to their primary site’s dashboard.
   3- If a user opens `www.mydomain.com/wp-login.php` while logged in, it redirects
   to their primary site’s dashboard.
 * But these redirection rules aren’t working with my subdomain installation.
    moreover
   users automatically redirect to their profile page after login.
 * How to Fix these issues?

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

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/redirection-after-login-multisite/#post-2480036)
 * What other differences are there on the subdomain install? Unless these are both
   fresh installs with no plugins, we need more to go on.
 *  Thread Starter [WPtesting](https://wordpress.org/support/users/wptesting/)
 * (@wptesting)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/redirection-after-login-multisite/#post-2480048)
 * Ya, My subdomain is a fresh installation and my sub directory is the old one 
   with few plugins. But I haven’t installed any plugin for that redirection.
    is
   there any plugin to fix this problem?
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/redirection-after-login-multisite/#post-2480082)
 * No, there would not be a plugin to fix something like that.
 * I haven;t heard of the issue either. I;ve just set up a new subdomain install
   so I’ll test & see if I get the same result.
 * On your subdomain one – do those users have sites in that network?
 *  Thread Starter [WPtesting](https://wordpress.org/support/users/wptesting/)
 * (@wptesting)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/redirection-after-login-multisite/#post-2480086)
 * UPDATE:
    [@andrea_r](https://wordpress.org/support/users/andrea_r/) I fixed first
   two problems. But what about the 3rd one? “Ipstenu” told me that it’s a WP BUG.
   But why it’s working for my sub dir installation then? is there any way to fix
   this problem?
 * REF URL: [http://wordpress.org/support/topic/wp-loginphp-session-issue?replies=5](http://wordpress.org/support/topic/wp-loginphp-session-issue?replies=5)

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

The topic ‘redirection after login (multisite)’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 4 replies
 * 2 participants
 * Last reply from: [WPtesting](https://wordpress.org/support/users/wptesting/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/redirection-after-login-multisite/#post-2480086)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
