• I’ve deleted the subdirectory of a MU install by accident and can’t get it back (made today and backups occur daily).
    The admin area still shows everything is fine however I can’t view the site.

    What is actually in the subduer normally (never looked) and can I do something for it all to work again?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Bet Hannon

    (@bethannon1)

    Maybe you already have this fixed, but what do you mean you deleted “the subdirectory of a MU install”?

    If the network is installed in domain.com, there really aren’t separate subfolders for subsites — except in wp-content/uploads/sites/{subsite ID#}.

    You deleted one of those?

    Thread Starter WristyManchego

    (@wristymanchego)

    Thanks for getting back to me Bet.

    My MU is running with subdirectories, what I did was try to manually create a subdomain in cPanel, what that did was delete everything in the subdirectory. When I did it, I immediately refreshed the tab with my blog in it (was already open) and it said there was an error (typical WP one). It was obviously still in the WP database so I could see it in admin but I assumed I’d deleted all the actual WP data for that blog.

    Is this how it works?

    Moderator Bet Hannon

    (@bethannon1)

    When you manually created that subdomain, it’s probably using a subdirectory structure in your hosting. Have you tried deleting the subdomain you created to see if that solves the issue?

    In WP multisite, you NEVER create the subsite urls in the hosting — only within the Network Admin dashboard.

    Thread Starter WristyManchego

    (@wristymanchego)

    Yeah I deleted the subdomains but no resolve. I’m not sure what happened. So does the MU hold all of the blog content within the original folder structure of the MU install? It doesn’t create new folders elsewhere (like a sub folder)?

    Moderator Bet Hannon

    (@bethannon1)

    Multisite does hold all the content inside the one database and the folder structure of the main domain. Adding a new site creates new db tables for that site, and a new folder inside wp-content/uploads/sites/{subsite ID#}.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Accidentally deleted the subdirectory of an install’ is closed to new replies.