WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Site broken after reupload of site files (3 posts)

  1. holland6
    Member
    Posted 2 years ago #

    My site became corrupted with malware yesterday so my site was taken down. I had to delete all my site's files. I had backed up my WordPress directory so I uploaded it back to the site today. When I visit my site, the front page looks fine, but when I click on a link to a post or a page I get a 404 error page. I'm thinking that this might have something to do with the database and the site files. Is there something that I need to do?

    Thank you.

  2. Try resaving your permalinks. It's possible you didn't upload the .htaccess file and that needs to be regenerated.

    (.htaccess is a hidden file on your server that tells it how to translate pretty URLs)

  3. holland6
    Member
    Posted 2 years ago #

    You nailed it! I resaved my permalinks and everything is working as it should. I did forget to back up the .htaccess file, I won't do that again.

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic