• Hello

    I installed a WordPress blog on my domain using Fantastico and now I want to uninstall it. I have Filezilla and I can access all my files on the site but I am not sure which ones to delete.

    I have 3 folders starting with “wp” and a bunch of php files starting with “wp”. Which do I delete to get the blog removed completely?

    Thanks
    Harris

Viewing 9 replies - 1 through 9 (of 9 total)
  • you really should use fantastico’s “uninstall” option as there are files associated with that script that will interfere with a re-install if not removed

    Thread Starter harilaos

    (@harilaos)

    OK, but the domain is my primary domain. I can’t see the option “Remove” for my primary domain, am I missing something?

    I would ask your host about it
    you can delete it yourself but really need to be familiar with what you’re doing

    Thread Starter harilaos

    (@harilaos)

    OK, I will do that ??

    Thread Starter harilaos

    (@harilaos)

    Just letting you guys know, to uninstall WordPress from your primary domain using Fantastico just choose “Remove” at the site listed as “/” at the top

    How do you uninstall a wordpress site if it is NOT in the Fantastico list?

    If you do not have it on list you delete all wordpress files and folders and if are sure about uninstall you delete database and that will uninstall wordpress.

    Ok. Thanks for the info. I will do that.

    If you actually have access to ftp then it is very easy to delete WordPress.

    Step 1: Delete All WordPress files from the directory except (wp-config.php).
    Step 2: Delete Database.

    Create a php file and put this code with proper information. [You can get your database information into your wp-config.php file]
    Delete Database:

    <?php
    	defined("HOST")? null : define("HOST", "put db host name from config file");
    	defined("USER")? null : define("USER", "put db user name from config file");
    	defined("PASS")? null : define("PASS", "put db password from config file");
    	defined("DBNAME")? null : define("DBNAME", "put db  name from config file");
    	$con = mysql_connect(HOST,USER,PASS);
    	if($con){
    
    		$link = mysql_select_db(DBNAME,$con) or die("no database").mysql_error();
    		if($link){
    			$sql = "drop database ".DBNAME;
    				if(mysql_query($sql)){
    					echo $sql;
    				}
    		}
    	}
    	else{
    		echo "Not successful";
    	}
     ?>

    Now execute the new file & delete wp-config.php.
    So your database will be deleted and your WordPress uninstall successfully.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Uninstalling WordPress using FTP?’ is closed to new replies.