How to unstall WordPress (6 posts)

  1. dreamo
    Posted 9 years ago #

    I could be mistaken, but I looked through the codex and didn't find an area that showed me how to unstall WordPress?

    I having some issues with my site recently and I need to wipe the slate clean by uninstalling anything closely related to WP on my servers while leaving other files unrelated to WP intact.

    There are obviously some folders that are clearly labeled as WP-admin, wp-content, wp-include, and wp-images.

    and then there are the files in my root folder that begin with WP-xxxx.

    Besides those obvious files and folders,is there any thing else that needs deletion that I've missed? .htaccess file? or how bout index.php file? I want to make sure that I don't miss anything before I go through a redesign and upload my new wordpress so that it doesn't act haywire on me again.

  2. Chris_K
    Posted 9 years ago #

    Whatever directory you installed in, just dump it all.

    Then, using something like phpMyAdmin or your host's cpanel (or equivalent) drop the database you created for WP as well.

  3. Chris_K
    Posted 9 years ago #

    ah, I read closer. You installed in root?

    Ok, yeah - anything wp*.php. If .htaccess is only used for WP, kill it all. Else edit it and just remove the WP section.

  4. vkaryl
    Posted 9 years ago #

    BE ADVISED: dropping the database will delete EVERY POST from the blog - PERMANENTLY. Keep a backup database dump....

  5. dreamo
    Posted 9 years ago #

    Thanks Mods. Yes, I backed up the database of blog entries. Actually, there aren't that many entries so it's no loss one way or the other to me.

    do I delete the index.php file in my root as well? or is .htaccess the only non wp file in my root folder that should be deleted as well? I just want to make sure.

    is there a codex on using phpmyadmin to drop the database? I know there is a codex to backup the database.

  6. vkaryl
    Posted 9 years ago #

    index.php: if it looks like this -

    /* Short and sweet */
    define('WP_USE_THEMES', true);

    then yes, delete it. If not, then rename it 1index.php or something and leave it until you see if you need it.

    phpmyadmin: I don't know if there's anything in codex on that. Easy way: load up the database in phpmyadmin, find the "select all" link below the db display in the right frame, click it. In the dropdown box, select "drop". Click "yes" when you get the "are you sure" sorta question.

Topic Closed

This topic has been closed to new replies.

About this Topic