Since the last update the auto update does not work anymore. WP is always asking for the FTP login data. The only major change I made to the system was to change the web URL.
Hi There,
Thanks for writing in!
Whenever you use the WordPress control panel to automatically install, upgrade, or delete plugins, WordPress must make changes to files on the filesystem.
Before making any changes, WordPress first checks to see whether or not it has access to directly manipulate the file system.
If WordPress does not have the necessary permissions to modify the filesystem directly, you will be asked for FTP credentials so that WordPress can try to do what it needs to via FTP."
Solution:
step-1 : First open wp-config.php file of your WordPress installation folder.
step-2: Copy below code and paste it at the end of the wp-config.php file.
define('FS_METHOD','direct');
And please give 755 permission to the wp-content folder including the sub folders.
Please check this for help
Hope this helps!
Thanks
Thanks for your help! But now I can not install or erase plugins?
Any thoughts on this?
Big thanks for any help!!!
Hello @TheSpejder,
Thanks for updating the thread.
If you are not able to install or delete plugins that there must be some other issue. It’s not coming because of the code my colleague shared with you. Please make sure that you have correct file permissions. You can refer following articles:
https://codex.wordpress.org/Changing_File_Permissions
Thanks.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.