Fix plugins and themes installation when WordPress asks for FTP credentials

When WordPress doesn’t have the right premissions on the wp-content folder it will ask for your FTP credentials every time you try to install/uninstall/update a plugin or a theme.


This is easily fixed by just adding this to your wp-content.php file:



You might also like

Remove a WordPress action in child theme
If you want to remove a WordPress action that was added in the parent theme like this:function...

Exit maintenance mode in WordPress when an update fails
To exit maintenance mode in WordPress when an update fails is as easy as deleting the .maintenance file...

Change WordPress table prefix to avoid SQL injection attacks
WordPress uses a table prefix for each installation in case you want/need to have more than one WordPress...

Manual install and configuration of for Mac Ports in Mac OS X is an awesome profiler for PHP done by SensioLabs, the company behind Symfony2. It automatically...

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.