WordPress.org

Ready to get started?Download WordPress

Forums

How to completely delete a corrupt WordPress site and replace with a fresh one (4 posts)

  1. taciturnpixie
    Member
    Posted 2 years ago #

    Okay, so after multiple attempts to fix a hacked WordPress site and not having access to updated theme files, I decided to start over and build a better site. I've built the new WordPress site on my local server on my computer and now want to bring it live. But first, I want to completely eradicate the corrupted site and all its files off of my server. I would like to put the new site onto the same domain, and want to make sure there are no vulnerabilities that will make the new site susceptible to the same hacks as the first (I am installing a number of security measures/plugins on the new site).

    Any good articles on how to do this best. I've read a lot about migrating the site (and yes the original site is backed up and also on my local server) but how about how to completely delete it so I can start fresh on the same domain?

    Thanks

  2. govpatel
    Member
    Posted 2 years ago #

    All you need to is delete what ever you have in your root and replace with the install you have in local server and if you do not need the database you can that as well. and import the one in local server.

    http://codex.wordpress.org/Moving_WordPress

  3. mattmagi
    Member
    Posted 2 years ago #

    1) Erase all the files via FTP or cPanel or File Manager from the root (http docs or www).

    2) Then go into your database manager and erase the current database that is holding all your wordpress content probably called "yourdomain_wp".

    3) Reinstall wordpress.

  4. taciturnpixie
    Member
    Posted 2 years ago #

    Thanks for the help. I think the deletion has worked. Now for the re-install...

Topic Closed

This topic has been closed to new replies.

About this Topic