Access our premium support and let us know your problems, we will help you solve them.

0
No products in the cart.

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: WordPress asking for my FTP credentials to install plugins #9502
    blankabhishek-rathore
    Participant

    If during installation of a plugin, WordPress asks for your hostname or FTP details.
    Then follow these steps:

    Login to your server and navigate to /var/www/html/wordpress/.
    Open wp-config.php and add this line after define(‘DB_COLLATE’)

    define('FS_METHOD', 'direct');
    

    If you get “Could not create directory” error. Give write permissions to your wordpress directory in recursive as

    chmod -R go+w wordpress
    

    NOTE. For security, revoke these permissions once you install a plugin as

    chmod -R go-w wordpress
    
Viewing 1 post (of 1 total)