Upgrade WordPress without FTP info

I help maintain a site that runs WordPress, but we don’t have ftp access to the box it runs on.  So it makes doing WordPress upgrades a little difficult sometimes.  I came across a site that had a little work around for this though.  All you need to do is add “define(‘FS_METHOD’,’direct’);” to the end of your wp-config.php file.  Once that is done you should be able to apply the updates without being asked for any ftp info.

I hope this helps others.

Thanks
Eric

Source:  https://www.seowerkz.com


PDF pageEmail pagePrint page

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

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