The MU forums have moved to WordPress.org

Weird: Admin login redirects to diff site! (9 posts)

  1. visitsite
    Member
    Posted 18 years ago #

    Hi,
    Just completed the installation http://visitsite.info/ and tried to login.
    Instead of admin page the browser goes to www. infoplease. com/
    How this can be resolved?
    Thanks in advance.

  2. amanzi
    Member
    Posted 18 years ago #

    That is odd! What platform/webserver are you running? Check your Apache logs and paste the relevant entries here.

  3. amanzi
    Member
    Posted 18 years ago #

    Just figured out why this is happening. Check the source of your home page. There are lots of references to http://info/ so you must have the blogsite url messed up somehow. The reason why it's going to that other site is that you must have some sort of autosearch feature enabled in your browser. So if it can't find http://info/ it will find the closest site possible.

    If you can't log into the admin to fix it, you may have to have a look in the database to fix. Or just bite the bullet and reinstall.

  4. visitsite
    Member
    Posted 18 years ago #

    amanzi,
    Thanks for figuring out the problem.
    Its Apache + mySQL.
    Could you tell where the site path can be changed?
    I checked in mySQL and everything is refering to visitsite.info.
    Thanks for your quick responses.

  5. donncha
    Key Master
    Posted 18 years ago #

    Did you check the wp_site and wp_blogs tables?

  6. visitsite
    Member
    Posted 18 years ago #

    Hi donncha,

    from table wp_site:
    id domain path
    1 visitsite.info /

    from table wp_blogs:
    blog_id => 1
    site_id => 1
    domain => visitsite.info
    path => /
    registered => 2006-06-27 01:39:47
    last_updated => 0000-00-00 00:00:00
    public => 1
    archived => 0
    mature => 0
    spam => 0
    deleted => 0
    lang_id => 0

    I dont see anything wrong here.
    Please feel free to give any other suggestions, as I'm prepared to spend time to figure it. Will go to re-install thing only as a last resort.

  7. visitsite
    Member
    Posted 18 years ago #

    Ok! I figured it :)
    It is in the table wp_1_options, field option_value was http://info/visitsite/ and now after changed to http://visitsite.info/.
    Thankyou donncha for headsup & amanzi as well.

  8. amanzi
    Member
    Posted 18 years ago #

    OK - cool.

  9. donncha
    Key Master
    Posted 18 years ago #

    Glad you got it sorted out!

About this Topic

  • Started 18 years ago by visitsite
  • Latest reply from donncha