Introduction
WordPress is a content management system (CMS) that allows us to host and build websites. WordPress contains plugin architecture and a template system, so we can customize any website to fit our business, blog, portfolio, or online store
Prerequisite
1. WordPress admin credentials
2. cPanel Logins
Implementation
Step 1: Login the WordPress with the username and password
Note: click on ” I’m not a robot “
Step 2: Update the existing plugin or / Install a new plugin

Step 3: It will request to update the FTP credentials to proceed further, to fix this issue follow the below steps

Step 4: Login to the cPanel account

Step 5: Click on file manager under the Files section

Step 6: Navigate to the document root and find the wp-config.php file
Step 7: Right-click on the wp-config.php file and click on edit

Note: Take the backup of the file before modifying it for the safer side
Step 8: Add the below lines at the bottom of the file and click on Save Changes

define(‘FS_METHOD’, ‘direct’); define(‘FS_CHMOD_DIR’,0755); define(‘FS_CHMOD_FILE’,0644); |
Step 9: Reload the WordPress dashboard page. Now we can update or install plugins and themes without being asked for FTP credentials
