Ready to get started?Download WordPress


wp-login: how it works ? (2 posts)

  1. jolato2
    Posted 7 years 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 ?

  2. whooami
    Posted 7 years ago #

    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';

Topic Closed

This topic has been closed to new replies.

About this Topic