When you try to install the plugin in wordpress site it asks for FTP credentials

If during installation of a plugin, WordPress asks for your hostname or FTP details. Then follow these steps:
1) Login to your server and navigate to /var/www/html/wordpress/.
2) Open wp-config.php and add this line after define(‘DB_COLLATE’)
3) Add the following line – define(‘FS_METHOD’, ‘direct’);
4) If you get “Could not create directory” error. Give write permissions to your wordpress directory in recursive as— chmod -R go+w wordpress
5) After this go to the site and try to install the plugin, you will be able to install it.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Reply

Scroll to Top