Author Topic: Remove FTP login request  (Read 1084 times)

0 Members and 1 Guest are viewing this topic.

Remove FTP login request
« on: June 03, 2021, 01:03:20 AM »
Hello gentlemen. I learned about the management system a short time ago and I can say that it is very well done. Congratulations to the developers and for the beautiful work I requested a premium license.

But my question is different.

I did all the configuration and registered a domain that will use wordpress.

It turns out that when I try to install a plugin via wordpress the system asks for access via ftp.

How to remove this ftp access request? Letting him install the plugin?

Re: Remove FTP login request
« Reply #1 on: June 04, 2021, 07:22:10 AM »
Before you ask for a solution you need to understand why you WP is asking for FTP credentials. This is because WordPress enviroment does not have permissions to access plugins folder. You need to change permissions for these folders. Kindly never change wp-content or any folder under this folder to permission 777. I recommend setting any or all folders under wp-content to 744 - gives permission to owner (username that uploaded or installed) and gives all others read only access.

A common workaround for this is adding the
Code: [Select]
define('FS_METHOD','direct'); directive in wp-config.php
Applications Developer | RHEL Linux Server Administrator

Managed 100gb VPS Servers for $35 p/m
Managed 100gb VDS Server Plans for $120 p/m