WordPress is arguably one of the most popular Content Management Systems (CMS), enabling speedy development of websites and the number of functionalities offered by this platform make it the first choice of many people. Notwithstanding this fact, there may come a time when need to delete a WordPress account may arise. Let’s have a look at the methods to do so.
Difference Between .com and .org Types
It is pertinent to learn about the two ways in which the platform offers a website, before moving ahead to the techniques to delete them.
WordPress.com is the fully-hosted, free platform that allows full customization without any downloads needed as it is completely browser-based and an individual has to sign up, create the account and simply click and choose the options that he/she needs.
WordPress.org is the self-hosted version requiring the download and installation of the free software on a system with a compatible web host.
Deleting a WordPress.com Account
The dashboard feature can be used for the purpose.
Step 1: Open the settings menu from the bottom left- hand corner.
Step 2: Click the “delete site” button.
Step 3: Enter the password and confirm the action.
This is the easiest way to delete a WordPress account but it must be exercised with extreme caution as the action is irreversible with all the content and domain references permanently erased from the WordPress.com website.
Deleting Self-Hosted .org Account
There are two ways to do this:
Step 1: Access the cPanel dashboard using the URL.
For example: abcd.com/cpanel where abcd must be replaced by the domain name.
Step 2: Log on with the help of cPanel username and password.
Step 3: Open the “Hosting” tab and locate the domain for which WordPress is installed.
Step 4: Click the “Switch” option in front of the domain in order to enter its configurations system.
Step 5: Open the Auto-Install tool and choose WordPress and click on the “Uninstall” option.
The process is complete.
There are cases where a website after converting from HTML to WordPress was installed manually on the server and it requires the deletion to be done the same way too by removing the WordPress root directory, which is also called a blog. It is installed in the /var/www/ directory or else can be found in the public_html folder which can be accessed through the File Manager option of the cPanel. Clicking the Files option leads to it where a pop-up “File Manager Directory Selection” will appear. Selecting webRoot (public_html/www) will lead to the folder.
The type of file system access to the web server dictates the type of method used for the purpose:
(i) Console Commands: In the case of SSH based console access, a code like this needs to be entered in the root directory to achieve the objective.
1 $ ssh firstname.lastname@example.org
2 ## Switch to your web root directory
3 $ cd /var/www
4 ## Remove the entire WordPress directory (in this case /blog)
5 $ rm -r blog
(ii) File Transfer Protocol (FTP): The FTP is the protocol used for communication between a client computer and a server enabling the former to undertake file management on the server. All the login details like username, password along with the server name and remote directory are usually mailed by the hosting service to a user and they can be used to access the account via an FTP program. Locate the WordPress icon after logging in and right click on it and select the delete option to complete the process.
(iii) Web- Based File Manager: Easy to understand and use, these can be used for the purpose of modification by people lacking in technical knowledge as there is no need to write a code or use a separate program to access the root directory. Simply logging on to the web hosting service provider’s dashboard and locating the File Manager application and clicking on it will take an individual to the desired WordPress directory which can be selected and deleted.
The present situation of an individual may be requiring the expunging of the website but a backup of all the account must be created and preserved in case of a need arising in future. This can be done with the help of the open source PhpMyAdmin software that is used to manage the MYSQL database and can be accessed by the web hosting service control panel :
Step 1: Open the phpMyAdmin window from the control panel.
Step 2: Select the WordPress database.
Step 3: Click on the “Export” button located on the top part of the menu.
Step 4: Select the export method as “Custom”.
Step 5: All tables in the database are selected and displayed now and you can deselect the ones that are not required.
Step 6: Scroll down until you reach the Output section and select the Save Output To a File option along with the compression file type.
Step 7: Click on Go and the backup will be exported to you.
These methods to delete a WordPress account are as easy to use for a developer as it is to create a new project using the extremely convenient and flexible platform.