WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] member blog has suddenly become the main blog (4 posts)

  1. billdennis5
    Member
    Posted 3 years ago #

    I run the Multisite installation at http://blogpeoria.com

    I woke up this morning and found that readers were getting a database error message.

    Turned out that the wp-config.php file has been corrupted. The name of the database was wrong. The database user name had changed to the username of one of my site's members. The username had changed to his personal password. I changed the wp-config.php file back to normal and the database errors went away.

    But now, no one could log into their blogs. Login attempts just failed to complete. Users started trying to change their passwords. The email they received told them where were attempting to change their password for the a completely different blog. This happened to be the blog owned by the member whose username showed up in the wp-config.php file. When I go to ANY wp-login.php page for any member site, and click on the WordPress logo, I am directed to this member's site.

    Considering that I cannot log in to the site now, how do I fix this problem?

    Thank you in advance for any and all held you can give me.

  2. Do you have backups? I would do a restore from yesterday if at all possible.

    If not, check the wp-config.php and see what blog number is listed as the main blog.

  3. billdennis5
    Member
    Posted 3 years ago #

    Correct!

    I took a second look at it:

    A line read define('DOMAIN_CURRENT_SITE', 'eastbluffeye.blogpeoria.com' );

    I changed to define('DOMAIN_CURRENT_SITE', 'blogpeoria.com' );

    And now all is well.

    Thank you.

    WordPress community rocks.

  4. Sure thing :)

    I would also take a moment to check who my super-admins are, change passwords for WordPress AND hosting, and talk to whomever runs eastbluffeye to sort out what the heck he did.

    Assume the worst: a hack.

Topic Closed

This topic has been closed to new replies.

About this Topic