{"id":59334,"date":"2016-02-12T09:00:22","date_gmt":"2016-02-12T14:00:22","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=59334"},"modified":"2017-08-16T06:41:22","modified_gmt":"2017-08-16T10:41:22","slug":"wordpress-how-to-force-the-ftpext-filesystem-method-to-be-used","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-how-to-force-the-ftpext-filesystem-method-to-be-used.html","title":{"rendered":"WordPress. How to force the &#8220;ftpext&#8221; filesystem method to be used"},"content":{"rendered":"<p>This tutorial will show you some useful WordPress configuration tricks that you may not know.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=X-EnVYeXj7s?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to force the &#8220;ftpext&#8221; filesystem method to be used<\/a><\/p><p>By default, <a href=\"https:\/\/www.templatemonster.com\/wordpress-themes.php\" target=\"_blank \"title=\"WordPress Themes\">WordPress<\/a> allows you to upgrade plugins,  WordPress core versions via the backend. There are some hosts that require an FTP or SSH connection every time you try to upgrade, or install a new plugin. By using the codes below, you can set the FTP or SSH constants and never have to worry about it again:<\/p>\r\n<pre class=\"brush:php\">\/\/forces the filesystem method: &quot;direct&quot;, &quot;ssh&quot;, &quot;ftpext&quot;, or &quot;ftpsockets&quot;\r\ndefine('FS_METHOD', 'ftpext');<\/pre>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/service-center\/\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-3-(835-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>\r\n<ol>\r\n<li>\r\n<p>Add the above code to the very end of <strong>&#8216;wp-config.php&#8217;<\/strong> file: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/12\/WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/12\/WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_1-300x128.png\" alt=\"WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_1\" width=\"300\" height=\"128\" class=\"aligncenter size-medium wp-image-59335\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_1-300x128.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_1-150x64.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_1-1024x438.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_1.png 1105w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<\/ol>\r\n<p>From now on, WordPress will <strong>ask for ftp details<\/strong> to perform any requested action that <strong>may damage your website<\/strong> (deleting plugin, upgrading WordPress core files, etc). User will have to enter your<strong> FTP credentials<\/strong> to proceed: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/12\/WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/12\/WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_2-300x142.png\" alt=\"WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_2\" width=\"300\" height=\"142\" class=\"aligncenter size-medium wp-image-59336\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_2-300x142.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_2-150x71.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_2.png 833w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Check out the handpicked selection of <a href=\"https:\/\/www.templatemonster.com\/blog\/best-wordpress-themes-2016\/\" target=\"_blank\" title=\"Best WordPress Themes in 2016\">best WordPress themes<\/a> designed in 2016!<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=X-EnVYeXj7s?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to force the &#8220;ftpext&#8221; filesystem method to be used<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to force the &#8220;ftpext&#8221; filesystem method to be used in Wordpress.<\/p>\n","protected":false},"author":37,"featured_media":59337,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[2152,2151,1506,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/59334"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=59334"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/59334\/revisions"}],"predecessor-version":[{"id":82717,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/59334\/revisions\/82717"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/59337"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=59334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=59334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=59334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}