• Resolved Jordan

    (@wolf530)


    I found that someone had hacked my site recently, so I was following the list of security protocols to follow. In doing so, I uploaded new WordPress files for all of the following:

    • Main directory
    • wp-admin directory
    • wp-includes directory

    I did NOT upload a fresh version of wp-config.php — saved my previous.

    Now, none of my MU sites are showing up in the “My Sites” drop-down on the menu bar at the top of the page.

    When I go to my Network Admin Dashboard, it DOES show “You have 10 sites”, but there doesn’t appear to be a way to view them from the Network Admin area.

    If I go to one of the sites directly, the WP menu bar at the top of the page still allows me to access that site’s Dashboard, however, all the users who should be assigned to that site are completely gone. It’s this way across the MU network.

    I attempted the solution in this thread of commenting-out lines 699 and 700 of wp-includes/user.php and that did not solve the problem.

Viewing 16 replies (of 16 total)
  • Thread Starter Jordan

    (@wolf530)

    For those who come after me with the same problem, here’s what ended up being the problem:

    I had changed my table prefixes for security purposes, but the tool I used did not change the prefixes WITHIN the usermeta and options tables. There’s a number of these that, by default, begin with wp_ and need to be changed to whatever new prefix you chose.

    If you have a large MU site, the easiest way to change the usermeta ones is to download the SQL file, open it in a text editor find all instances of “wp_” and replace with your new prefix. Then go back to SQL, flush the table, upload the new version.

Viewing 16 replies (of 16 total)
  • The topic ‘"My Sites" gone after doing clean upload of WordPress files’ is closed to new replies.