Title: Redirect when logging on
Last modified: August 19, 2016

---

# Redirect when logging on

 *  [huezeh](https://wordpress.org/support/users/huezeh/)
 * (@huezeh)
 * [16 years ago](https://wordpress.org/support/topic/redirect-when-logging-on/)
 * When I go to [http://subdomain.mainsite.com/wp-login.php](http://subdomain.mainsite.com/wp-login.php)
   the URL change/redirect to [http://subdomain.mainsite.com/wp-login.php?redirect_to=http%3A%2F%2Fpokerfiendsubdomain.mainsite.com%2Fwp-admin%2F](http://subdomain.mainsite.com/wp-login.php?redirect_to=http%3A%2F%2Fpokerfiendsubdomain.mainsite.com%2Fwp-admin%2F)
 * Obviously “subdomain” and “mainsite” isn’t my real sites, but just example names
   I use.
 * However, I get logged in as usual and so on. But is there something sketchy or
   something with this?
    This haven’t been happening before, started this evening
   when I was loggin’ on and it wasn’t like this last time (four days ago I believe).

Viewing 1 replies (of 1 total)

 *  [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * (@shane-g-1)
 * [16 years ago](https://wordpress.org/support/topic/redirect-when-logging-on/#post-1495745)
 * Hi,
 * Check with these options:
 * – Remove all unwanted code from htaccess
    – Disable all the plugins – Change 
   your theme to default to ruled out theme level issue – Upgrade your wordpress
   to the latest version
 * Thanks,
 * Shane G.

Viewing 1 replies (of 1 total)

The topic ‘Redirect when logging on’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/redirect-when-logging-on/#post-1495745)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
