[This post is part of the WordPress Guide for Beginners – Step by Step Tutorials]
Once you’ve installed WordPress Blog, you can install theme and plugin from Dashboard easily. Accidentally if you upload a faulty theme or plugin, you will find error on your site and you won’t able to login your Dashboard to delete the file.
At that time you have access your file via FTP Client or cPanel File Manager to fix this. In this post I will show you how to access File Manager and how to delete a file using File Manager. You can also upload file via File Manager.
File Manager allow you to access, view, modify, upload and delete a files from your account.
How to Access File Manager
At first, login to your cPanel. Most of the time your cPanel link will be like http://yourdomain.com/cpanel . Hosting provider also provides a cPanel login ink. You can use that link too.
To access File Manager, scroll down and click on ‘File Manager’ under the Files section of your cPanel. Follow the screenshot. It may look different on your hosting. I am using HostGator and it looks as follows for me. If you don’t find File Manager, contact with your host and ask them where you can find it.
After that, a pop-up will be appeared named ‘File Manager Directory Selection’. Select ‘Web Root (public_html/www)’, Check ‘Show Hidden Files(dotfiles)’ and click on Go. (Follow Screenshot)
Your File Manager will be appeared like this
Your core WordPress Files are accessible in public_html (select it from left side). ‘wp-content’ file contains the theme and plugin files. If you have multiple site on same server then at first you have to select the determined site folder.
How to Delete a Theme or Plugin in File Manager
- Click on the file ‘wp-content’
- If you are going to delete plugin then click on ‘plugins’. If theme, click on ‘themes’
- Once you’ve clicked on your determined file, list of installed plugins or themes will be appeared.
- Just select the file you want to delete and do right-click and you will find the Delete option.
How to Upload a Theme or Plugin in File Manager
- Just open the file where you want to upload a new file.
- You will notice the Upload button on left header.
- Click on Upload.
- Select the file from your computer. That’s it.
Do let us know if you face any difficulties on accessing file manager. Hope this post helps you to upload/delete files on WordPress. If you find this post useful consider sharing it with your friends.