Few days ago, I ran into a problem trying to access and update some of the web files inside a WordPress site.
The problem: I needed to access and update htaccess file but I only have /wp-admin/ account and there's no FTP or cPanel account given. Getting back to client and asking for FTP credential was not even an option, as he was already out during that time.
Normally, managing and editing files on a web server requires an FTP or cPanel account. Without a valid FTP or cPanel account, file management is impossible. But with WordPress, that's not the case.
Using WP-Admin Access To Upload, Edit Files Without FTP Account in WordPressAs you might already know, the real gem of WordPress comes from the thousands of ready-made plugins freely available for everyone. And here we're going to explore yet another awesome plugin called WP-FileManager.
WP-FileManager is a tiny WP plugin that gives you the ability to access and update files on your web server without an FTP account. Sounds like impossible but yes, you can use your wp-admin account to update and manage web files without FTP account.
Getting started with WP-FileManagerJust download and activate WP-FileManager from WordPress plugin repository. Once activated, you'll find a new tab called FileManager. Under this tab comes File Manager and Configuration. The plugins' default home directory is /wp-admin/ and it comes with all options disabled so you may need to go to Configuration first and set the default home directory and tick all the boxes, as shown below:
Once you've done this you can navigate back to FileManager and browse through files and folders.
As a final note, you only need to install WP-FileManager if and only if that's the last resort and you absolutely need it. Having WP-FileManager installed on your WP site gives everyone with admin account a full access to your web files, including wp-config.php file and htaccess.