Support » How-To and Troubleshooting » wp-login: how it works ?
9 years, 5 months ago
Need some help to understand how wp-login works. When I login using the following URL:
http://xyz/blog1/wp-login, I am automatically redirected to
Both blogs are copies, but that is not the issue. If I could understand what happens inside wp-login or else use debug mode ?
Both blogs are copies, but that is not the issue.
But that is the issue 🙂 wp-login.php works the way all the other wordpress files work — it looks for your site at the location you have specified as your Blog address (URI)
If you have 2 installs sharing the sameBlog address (URI) that’s what’s going to happen.
IF you dont want that to happen, but want to share everything else between the 2, use another options table for the other blog.
see this, inside wp-settings.php
$wpdb->options = $wpdb->prefix . 'options';