• Resolved gowlin

    (@gowlin)


    My webhost had a hardware failure and I lost a bunch of my website stuff. It looks like I have my full wordpress database, but some of the files of the installation ended up going missing.

    I tried restoring my site by dropping a fresh 3.3.1, and then copying the files I had from my restored install over top of those and then restoring the database.

    When I go to the site (https://www.randonneurs.bc.ca/rockymountain1200/) the front page looks right, but none of the links work correctly. And the admin dashboard will come up, but the content panel is always blank.

    Does anyone have any suggestions to doig this restore properly, or what I can look into to try and solve the problem?

    Thanks,
    -ryan

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, in my opinion maybe you restored your WordPress files but no the .htaccess, so try adding this to the .htaccess files:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Maybe if you do this will going to fix the 404.

    Question, the site was originally in that address or do you used that address to restore the database and files?

    Thread Starter gowlin

    (@gowlin)

    The site was originally in this address. So I’m trying to restore it to the same place it was originally.

    But, Awesome! That worked for restoring the content properly in the site. I can now access all the menus and pages that were created. I missed restoring the htaccess file, so that seems to work properly now.

    My admin dashboard is still broken however. WHen I go to the admin site I see the menu along the left hand side, but the right hand content pane is always blank no matter which menu item I click on. I looked for a similar .htaccess file in the wp-admin directory of my old install but found none. That file could have been lost in the hardware crash though. Do I also need an .htaccess file in wp-admin?

    Thanks a lot jdiaz1302

    Ok, enter to your WordPress admin and then right click -> see source code and send it using pastebin. I saw similar cases.

    Thread Starter gowlin

    (@gowlin)

    https://pastebin.com/qDMk0aFc.

    Looks like there’s a “fatal error” in there, but I’m not sure what it means.

    Thread Starter gowlin

    (@gowlin)

    nm, I found the problem. Now a bug in 3.3.1 and interaction with the php version I have. I think I’ve solved that problem now. Thanks a lot for the pointers!

    Ok, no problem.

    Remember to mark your post as resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Restoring a lost site’ is closed to new replies.