This guide covers how to fully uninstall, remove, or delete a WordPress installation when Softaculous, WordPress Manager, or WordPress Toolkit is unavailable.
Related Articles
Uninstall WordPress Installation from Softaculous
Delete File in File Manager
Uninstalling WordPress
CAUTION: Before deleting anything, we strongly recommend creating a backup.
- Log into the cPanel
- Navigate to the File Manager, located in the Files section
- Navigate to the document root of the site
- View the wp-config.php file and make note of the database name and database username
EXAMPLE: In this example, the database name is imhkmc5_wp412 and the database username is imhkmc5_wp412. - Delete any files associated with the WordPress installation
NOTE: DigWP provides a complete list of files included in a WordPress installation.
CAUTION: Typically, this would be all or almost all of the files in the site's document root, but please bear in mind that anything permanently deleted will not be recoverable without a backup. - Access the .htaccess file within the document root and remove or comment out the following text
TIP: You may need to display hidden files in order to view the .htaccess file.
# 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
- Remove the database and database user noted above in the wp-config.php file
Comments
0 comments
Article is closed for comments.